mozlz4
mozlz4 copied to clipboard
Decompress / compress mozlz4 files, with precompiled binaries for Windows and Linux
mozlz4
Decompress / compress mozlz4 files, specifically search.json.mozlz4 in Firefox.
Binaries available here
Usage
$ ./mozlz4 --help
mozlz4 0.1.0
Justin Wong
Decompress and compress mozlz4 files. Overwrites existing files.
USAGE:
mozlz4.exe [FLAGS] <input> [output]
FLAGS:
-x, --extract decompress mozlz4 (default)
-z, --compress compress to mozlz4
-h, --help Prints help information
-V, --version Prints version information
ARGS:
<input> input file, - for stdin
<output> output file, - for stdout (default)
Examples
Extract search.json.lz4
$ ./mozlz4 search.json.mozlz4 search.json
Compress search.json
$ ./mozlz4 -z search.json search.json.mozlz4
Building
$ cargo build --release
Notes
$ rustc --version
rustc 1.61.0 (fe5b13d68 2022-05-18)