https://github.com/renatoathaydes/dzipper
A CLI utility and library to extract zip file metadata.
https://github.com/renatoathaydes/dzipper
dlang zip
Last synced: 3 months ago
JSON representation
A CLI utility and library to extract zip file metadata.
- Host: GitHub
- URL: https://github.com/renatoathaydes/dzipper
- Owner: renatoathaydes
- License: mit
- Created: 2023-12-26T20:45:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-27T20:39:08.000Z (over 2 years ago)
- Last Synced: 2026-01-29T20:24:56.618Z (5 months ago)
- Topics: dlang, zip
- Language: D
- Homepage:
- Size: 1.27 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dzipper
A D library and CLI utility for visualizing Zip archive metadata
and prepending other files to existing zip archives.
## Usage
```shell
dzipper []
-o
--output Output file.
-p
--prepend Prepend a file to a zip archive.
-V
--verbose Show verbose output.
-h
--help This help information.
```
If no output file or prepend file are provided, `dzipper` simply prints information about the archive.
With verbose output enabled, all of the zip archive metadata structures are printed out.
If an output file is provided, the zip archive is written to it without including any
unnecessary data that's not part of the zip data structure.
That means that `dzipper` can be used to _clean up_ an archive, as zip archives can contain many _unreachable_ entries, for example.
If the prepend file is given, then dzipper will prepend the contents of the file to the output file before writing out the archive.
If no output file was provided, then the archive itself is replaced.