Decompress Mozilla Firefox bookmarks backup files
Current Firefox bookmarks backup files are stored as non-standard file format
based on lz4 compression. These files have a
.jsonlz4 extension. Use
dejsonlz4 to decompress them.
lz4.h at this repository are verbatim copies from the Mozilla
repository as of 2016-05-12 (as currently used by Firefox) .
Usage: dejsonlz4 [-h] IN_FILE [OUT_FILE] -h Display this help and exit. Decompress Mozilla bookmarks backup file IN_FILE to OUT_FILE. If IN_FILE is '-', decompress from standard input. If OUT_FILE is '-' or missing, decompress to standard output. Note: IN_FILE is transferred to memory entirely before decompressing. Decompression is also done in memory entirely before output.
gcc -Wall -o dejsonlz4 src/dejsonlz4.c src/lz4.c
dejsonlz4on Windows does not support unicode path/file names at this time.
- Project page and source files: https://github.com/avih/dejsonlz4
- Releases and binary builds for Windows: https://github.com/avih/dejsonlz4/releases
- Mozilla Firefox bug 818587 - Compress bookmark backups.
- Mozilla Firefox bug 1209390 - Use standard lz4 file format instead of the non-standard jsonlz4/mozlz4.