2 releases
0.1.1 | Mar 1, 2024 |
---|---|
0.1.0 | Mar 1, 2024 |
#1896 in Command line utilities
7KB
96 lines
ginfo
ginfo
is a simple utility to display information about a GZip header.
It can read from a file or from stdin, and can also read base64 encoded input.
It will display the compression method, flags, modification time, and OS of the GZip file.
Installation
cargo install ginfo
Examples
ginfo test.gz
echo "H4sIAAAAAAAAA8vPUMhIzcnJVyjJSC1KBQBvyKZBDgAAAA==" | ginfo -b
ginfo -b test.b64
Dependencies
~2.3–3MB
~54K SLoC