| Crates.io | zst_compress |
| lib.rs | zst_compress |
| version | 0.4.0 |
| created_at | 2024-12-05 06:33:07.498707+00 |
| updated_at | 2025-11-01 08:55:23.882665+00 |
| description | Batch compress to or decompress dir/*.tar.zst |
| homepage | |
| repository | https://github.com/Zelin2001/zst_compress |
| max_upload_size | |
| id | 1472903 |
| size | 61,340 |
Batch compress to or decompress dir/*.tar.zst
*, ?, []) for file inclusion/exclusionregex feature)| Feature | Description | Default |
|---|---|---|
regex |
Enable regular expression pattern matching for advanced file filtering | No |
You could choose to install from pre-built binary or Build from source.
Extract zst_compress-<version>.zip
Put it into searching path if you like to.
Change directory to the archive folder you are working with,
open windows terminal and run zst_compress.exe -h and follow the instructions.
If zst_compress.exe was not in Path, just run with absolute path.
Extract zst_compress-<version>.tar.zst with:
tar -xvf zst_compress-<version>.tar.zst
Put it into searching path if you like to.
In terminal emulator, change directory to the archive folder you are working with,
run zst_compress -h and follow the instructions.
The program was brought with 🦀Rust and therefore can work with most Rust hosts.
This will work for Linux, Windows, macOS with different chips.
Install Rust: follow the tutorial to install Rust.
Install a Rust toolchain.
Install zst_compress with cargo install --locked zst_compress.
Now you are ready to run zst_compress -h.
Usage: zst_compress [OPTIONS] <DIRECTORY>
Arguments:
<DIRECTORY> Directory to start processing
Options:
-n, --dryrun Preview what would be done without executing
-e, --exclude <PATTERN> Exclude files matching glob pattern(s)
--excludere <PATTERN> Exclude files matching regex pattern(s)
-x, --extract Extract files (decompress mode)
-f, --flag Create compression message file on the compression
-i, --include <PATTERN> Include files matching glob pattern(s) [default: *]
--includere <PATTERN> Include files matching regex pattern(s)
-l, --leveldir <LEVEL> Directory listing depth for logs in *_archive_filelist.txt [default: 4]
-p, --preserve Keep original (do not delete) files after compression
-q, --quiet Suppress output except errors (NO FUNCTION)
-t, --target <DIRECTORY> Output directory [default: DIRECTORY to start]
-v, --verbose Show detailed progress information (NO FUNCTION)
-z, --zstdlevel <LEVEL> Zstandard compress level, 1(fastest) to 22(smallest); [default: 3]
-h, --help Print help
-V, --version Print version