https://github.com/nhalstead/dzip
Dependency-less Zip Tool
https://github.com/nhalstead/dzip
Last synced: 2 months ago
JSON representation
Dependency-less Zip Tool
- Host: GitHub
- URL: https://github.com/nhalstead/dzip
- Owner: nhalstead
- License: unlicense
- Created: 2019-02-25T22:48:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-26T02:39:26.000Z (over 7 years ago)
- Last Synced: 2025-12-26T11:44:21.535Z (6 months ago)
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dZip
- [x] FAST
- [x] SIMPLE
- [x] CROSS PLATFORM
- [x] Dependency-less
---
## Zip across all of the Operating Systems!
#### `Windows` Yes
#### `Mac` Yes, ZIP ALL THE THINGZ!
#### `Linux` ZIPP ZIPP ZIPP!!
#### `Unix` ZIP-A-DEE-DOO-DAH!!
---
|Flag|Description|
|:-:|:-|
|-file|Zip File to Target|
|-zip|If not provided it will extract `-zip` to the Zip FIle's Name|
|`...`| All extra params are treated as filenames to make a new Zip when `-zip` is passed in!|
---
#### Why does this exist?
>
> Well glad you asked, I have notived that between all of the platforms,
> Linux, Mac and Windows the commands act different for zipping a file,
> or not at all in windows case (without extra tools). This tool allows
> you to add a zip function to all platforms that way its all the same,
> simple and easy to use.
>
> This also brings me to the next thing, When using ZipArchive in PHP it requires lots
> of addons, and takes more time than its worth but on the other hand, `exec` does not.
> Simple enough to write a script to just run the command to package a list of files at
> execution. Dont ask why I dont just write the applicaiton in golang, its got lots
> of movoing parts!
>