Skip to content

Lovegupta112/rustgzip-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rustGzip

rustGzip is a fast and simple command-line tool written in Rust for compressing and decompressing files. It provides a lightweight and efficient way to handle file compression tasks directly from the terminal.


Features

  • Compress files quickly.
  • Decompress previously compressed files.
  • Intuitive and simple CLI interface.
  • Written in Rust for speed, safety, and reliability.

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/rustGzip.git
cd rustGzip

Build the project:

cargo build --release

Run the binary:

./target/release/rustgzip -h

Optional: add the binary to your PATH for easier global usage.

Usage

Basic Syntax

rustgzip -f <FILE_PATH> <MODE>

Arguments

Argument Description
-f, --file <FILE_NAME> Path to the file to compress or decompress
mode Operation mode. Options: compress or decompress

Examples

Compress a file:

rustgzip -f example.txt compress

Decompress a file:

rustgzip -f example.txt.gz decompress

Display help:

rustgzip -h

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages