Mirror of
forum.nim-lang.org
index
6815 :: How to compress a folder?
[2020-09-14T15:55:26+02:00]
View Orginal
viencokhi
(orginal)
[2020-09-14T15:55:26+02:00]
view original
I want to compress a folder with multiple files in it. How to achieve that?
doongjohn
(orginal)
[2020-09-14T16:23:31+02:00]
view original
You can use libraries.
e.g) zip libraries
https://github.com/nim-lang/zip
https://github.com/h3rald/nim-miniz
shashlick
(orginal)
[2020-09-14T17:08:17+02:00]
view original
There's also
nimarchive
. You could port the
compression
example similar to how the
extraction
example was
ported
.