Skip to content

kenjitheman/zipman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Installation

go get github.com/kenjitheman/zipman

Usage

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

Contributing

  • Pull requests are welcome, for major changes, please open an issue first to discuss what you would like to change.

License