Rz

Source codeDownload on GitHub

Rz

Rz or Rzip is a high-performance, secure compression and decompression tool developed in Rust. Designed for efficiency and safety, Rzip provides a powerful CLI for managing your compressed files with ease and reliability.

Features

  • Speed: Utilizes Rust's optimizations to ensure fast compression and decompression operations.
  • Security: Built with Rust's strong safety features to minimize errors and vulnerabilities.
  • CLI: User-friendly and straightforward command-line interface for easy file management.
  • Versatile: Supports various file formats and compression algorithms for flexibility.

Compatibility

Compression MethodCompressionDecompression
Stored
Deflate
Deflate64
Bzip2
LZMA
Zstd

This means that Rzip supports the following extensions: .zip, .bz2, .tbz2, .lzma, .zst.

CLI

Usage: rz <command> [options] <args>

Commands

CommandDescriptionArgumentsAlias
appendAppends a file to an existing archive<sources...> <dest.zip>a
compressCompresses a file or directory<sources...> <dest.zip>c
extractDecompresses a file<source.zip> <dest>x
listLists the contents of an archive<source.zip>ls

Options

OptionAliasTypeDescriptionRequiredOn command
--level-lInteger(64)Compression levelNoappend, compress
--method-mEnumCompression method (stored/deflate/etc...)Noappend, compress
--pick-pStringFile to extract from archiveNoextract, list
--unix_permissions-uUInteger(32)Unix permissions for new filesNocompress

Contributing

Contributions are welcome! If you wish to contribute to Rzip, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/new-feature).
  3. Make your changes and commit them (git commit -m 'feature: 🌱 new feature').
  4. Push your changes (git push origin feature/new-feature).
  5. Open a Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

Developed with ❤️ by Sammwy.

BTC

bc1q4uzvtx6nsgt7pt7678p9rqel4hkhskpxvck8uq

ETH/BSC

0x7a70a0C1889A9956460c3c9DCa8169F25Bb098af

SOL

7UcE4PzrHoGqFKHyVgsme6CdRSECCZAoWipsHntu5rZx