tszip

Crates.iotszip
lib.rstszip
version0.1.2
created_at2025-05-13 01:32:44.300028+00
updated_at2025-09-20 15:56:58.369952+00
descriptionSimple command line utility for quickly compressing and decompressing a directory through tar and snap compression
homepagehttps://github.com/michaelciraci/tszip
repositoryhttps://github.com/michaelciraci/tszip
max_upload_size
id1671276
size13,474
Michael Ciraci (michaelciraci)

documentation

README

tszip

Simple command line utility for compressing and decompressing a directory through tar and snap compression

Documentation

See tszip --help.

Installation

cargo install tszip

Usage

tszip works similar to gzip, except it works on directories

This is equivalent to the following commands, except all the commands are compiled together allowing for optimizations.

This could be replaced by the following commands, although compiling the commands into a single executable allows for increase compiler optimizations.

Equivalence

Compression:

tar -c <input-dir> | szip | > <input-dir>.tszip

Decompression:

cat <input-dir>.tszip | szip -d | tar -x

By default, tszip will remove the input file (similar to gzip). The -k flag will keep the original input.

Commit count: 3

cargo fmt