A very basic tar/zip extraction program.
- You can download the latest prebuilt binaries of qstract here.
- Install script (unix platforms):
curl --proto '=https' --tlsv1.2 -sSf \
https://raw.githubusercontent.com/cargo-prebuilt/qstract/main/scripts/install-qstract.sh \
-o install-qstract.sh \
&& bash install-qstract.sh \
&& rm install-qstract.sh
-C
for directory to extract to.-z
for gzip.--zip
for zip. (none, deflate, deflate64)--sha256
for sha256 hash.--sha512
for sha512 hash.--sha3_256
for sha3_256 hash.--sha3_512
for sha3_512 hash.
First positional arg is the file to extract/hash.
qstract -z -C /tmp /tmp/tar.tar.gz
: Extract gzip file tar.tar.gz to /tmpqstract tar.tar
: Extract file tar.tar to current working directory