Supported formats and functionality:
zip
(compression/extraction/adding)
tar
(compression/extraction/adding)
tar.gz
(compression/extraction/adding)
7z
(compression/extraction)
bz2
(compression/extraction)
rar
(extraction)
go get github.com/nezutero/zipman
zipman.CompressToZip("./file.zip", []string{"./man.txt", "./hello.txt"})
➜ zipman git:(master) ✗ go run main.go
[SUCCESS] Zip compression completed successfully for file: ./file.zip
- Pull requests are welcome, for major changes, please open an issue first to
discuss what you would like to change.