Crates.io | lzfoo |
lib.rs | lzfoo |
version | 0.2.0 |
source | src |
created_at | 2021-04-23 18:52:41.674361 |
updated_at | 2023-03-27 13:24:05.79215 |
description | A pure Rust LZFSE command line tool. |
homepage | https://github.com/shampoofactory/lzfse_rust/tree/main/lzfoo |
repository | https://github.com/shampoofactory/lzfse_rust/tree/main/lzfoo |
max_upload_size | |
id | 388721 |
size | 24,552 |
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.
lzfoo
is on crates.io:
$ cargo install lzfoo
$ 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
Licensed under either of
at your option.
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.