A utility to Archive (zip) + Encrypt (AES-256) + Compress (Zstd) directory files and vice versa
Latest builds (single binary, no install):
| Platform | Download |
|---|---|
| macOS (Apple Silicon) | pcrypt-aarch64-apple-darwin |
| Linux (x86_64, musl) | pcrypt-x86_64-unknown-linux-musl |
| Windows (x86_64) | pcrypt-x86_64-pc-windows-msvc.exe |
| Docker | ghcr.io/pouriya/pcrypt — docker pull ghcr.io/pouriya/pcrypt:latest |
After download: make the file executable on macOS/Linux (chmod +x pcrypt-...).
~ $ pcrypt --helpA utility to Archive (zip) + Encrypt (AES-256) + Compress (Zstd) directory files and vice versa
Usage:
Commands:
archive Archive + Encrypt + Compress files of an input directory (only first level of files)
extract Extract + Decrypt + Decompress contents of an archive file
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
~ $ pcrypt archive --help Archive + Encrypt + Compress files of an input directory (only first level of files)
Usage:
Arguments:
<DIRECTORY>
Directory path to archive
Options:
-z <ZSTD_COMPRESSION_LEVEL>
Zstd compression level (between -7 - 22)
[default: 7]
--compression-method <COMPRESSION_METHOD>
Compression method
[default: zstd]
Possible values:
- zstd: Fast and efficeint but (for now) you have to decompress archives only using this app
- bzip2: VERY SLOW (compared to `zstd`), but you can decompress archive via well-known tools like 7z
-h, --help
Print help (see a summary with '-h')
~ $ pcrypt extract --helpExtract + Decrypt + Decompress contents of an archive file
Usage:
Arguments:
<ARCHIVED_FILE> Archived .pcrypt.zip file path to extract
Options:
-h, --help Print help
