lzfoo

Crates.iolzfoo
lib.rslzfoo
version0.2.0
sourcesrc
created_at2021-04-23 18:52:41.674361
updated_at2023-03-27 13:24:05.79215
descriptionA pure Rust LZFSE command line tool.
homepagehttps://github.com/shampoofactory/lzfse_rust/tree/main/lzfoo
repositoryhttps://github.com/shampoofactory/lzfse_rust/tree/main/lzfoo
max_upload_size
id388721
size24,552
Vin Singh (shampoofactory)

documentation

https://docs.rs/lzfoo

README

lzfoo

A fast, memory efficient and stream capable lzfse command line tool clone. Powered by lzfse_rust.

$ lzfoo
lzfoo 0.2.0
Vin Singh <github.com/shampoofactory>
LZFSE compressor/ decompressor

USAGE:
    lzfoo <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    -decode    Decode (decompress)
    -encode    Encode (compress)
    help       Prints this message or the help of the given subcommand(s)

See 'lzfoo help <command>' for more information on a specific command.

Installation

lzfoo is on crates.io:

$ cargo install lzfoo

Basic usage

$ lzfoo help -encode
lzfoo--encode 
Encode (compress)

USAGE:
    lzfoo -encode [FLAGS] [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -v               Sets the level of verbosity
    -V, --version    Prints version information

OPTIONS:
    -i <FILE>        input
    -o <FILE>        output

If no input/ output specified reads/ writes from standard input/ output

Compress a.txt to a.txt.lzfse:

$ lzfoo -encode -i a.txt -o a.txt.lzfse

Compress with stdin/ stdout:

$ lzfoo -encode -i < a.txt > a.txt.lzfse
$ echo "semper fidelis" | lzfoo -encode > a.txt.lzfse
$ lzfoo help -decode
lzfoo--decode 
Decode (decompress)

USAGE:
    lzfoo -decode [FLAGS] [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -v               Sets the level of verbosity
    -V, --version    Prints version information

OPTIONS:
    -i <FILE>        input
    -o <FILE>        output

If no input/ output specified reads/ writes from standard input/ output.

Decompress a.txt.lzfse to a.txt:

$ lzfoo -decode -i a.txt.lzfse -o a.txt

Decompress with stdin/ stdout:

$ lzfoo -decode -i < a.txt.lzfse > a.txt
$ cat a.txt.lzfse | lzfoo -decode

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 122

cargo fmt