zipc - like zip, but with a -chdir option
December 27, 2023 ยท View on GitHub
EXAMPLE
$ zipc -root example e-e-cummings.zip e-e-cummings
$ unzip -l e-e-cummings.zip
Archive: e-e-cummings.zip
Length Date Time Name
--------- ---------- ----- ----
1208 2021-08-17 15:38 e-e-cummings/anyone-lived-in-a-pretty-how-town.txt
34 2021-08-17 15:45 e-e-cummings/l(a.txt
601 2021-08-17 15:44 e-e-cummings/you-shall-above-all-things-be-glad-and-young.txt
--------- -------
1843 3 files
...
See zipc -help for more detail.
DOWNLOAD
https://github.com/mcandre/zipc/releases
DOCUMENTATION
https://godoc.org/github.com/mcandre/zipc
INSTALL FROM SOURCE
$ go install github.com/mcandre/zipc/cmd/zipc@latest
LICENSE
BSD-2-Clause
RUNTIME REQUIREMENTS
(None)
Recommended
CONTRIBUTING
For more information on developing accio itself, see DEVELOPMENT.md.
CREDITS
Shout out to jhoonb/archivex for simplifying recursive archiving!