Questions tagged [lz4]
12 questions
38
votes
7 answers
How to decompress jsonlz4 files (Firefox bookmark backups) using the command line?
There seems to be various JavaScript+browser specific ways of decompressing this, but isn't there some way to transform jsonlz4 files to something unlz4 will read?
l0b0
- 50,672
- 41
- 197
- 360
5
votes
1 answer
lz4 compression is only using a single core?
I'm using cat largeFile.iso | lz4 -10 - and it's going quite slowly (30mb/s?).
Using htop I see it using only a single core to 100%? Are there any additional parameters I need to specify? I can't seem to find any relevant info about this in lz4…
Chris Stryczynski
- 5,178
- 5
- 40
- 80
3
votes
1 answer
Xen pvgrub with lz4 compressed kernels
I am running PV guests on xen 4.11 with pvgrub. The recent releases of ubuntu (>19.04) look to have switched to lz4 compressed kernels. These kernels work fine with direct boot, but under pvgrub and pvgrub2 they don't seem bootable.
Most recent…
John S
- 111
- 8
3
votes
1 answer
Decompress firefox 57+ opened tabs file on Linux from the command line : Error 44 : Unrecognized header : file cannot be decoded
I need to decompress firefox 57+ opened tabs file.
I use unlz4 from the Ubuntu package liblz4-tool :
$ cp .mozilla/firefox/t6bznle5.default/sessionstore-backups/recovery.jsonlz4 ~/recovery.lz4
$ unlz4 recovery.lz4
Decoding file recovery
Error 44 :…
SebMa
- 1,941
- 4
- 22
- 37
2
votes
2 answers
How to compress all files in the current directory using lz4 using GNU parallel?
How to compress all files in the current directory using lz4 using GNU parallel?
I try ls | parallel lz4 but it outputs to stdout. Why? How to fix?
pmor
- 509
- 5
- 11
1
vote
1 answer
# dd + lz4 compression and de compression
I have a CentOS server and I have take a backup of the server using following command (dd + lz4).
# dd if=/dev/sda bs=100M | pv -ptera -s500G | lz4 > Lenovo-Win8-sda.dd.lz4
It's working and now I want to restore the backup. But I don't know how to…
1
vote
1 answer
Recovering file from compressed raw data on btrfs
I was recently acquiring data from a networked instrument, saving results as text files. Unfortunately, I forgot to change the filename during one of my runs, and I managed to overwrite an important file.
Is it worth going through extreme lengths to…
Matt F
- 31
- 2
0
votes
2 answers
lz4: what is the max ultra-fast compression level?
From man lz4:
--fast[=#]
Switch to ultra-fast compression levels. The higher the value, the faster the compres‐
sion speed, at the cost of some compression ratio. If =# is not present, it defaults to
1. This setting overrides…
pmor
- 509
- 5
- 11
0
votes
2 answers
How does SquashFS handle decompression?
How does SquashFS handle decompression?
I'm interested in the overhead that LZ4 has on the SquashFS filesystem.
My theory is that the files in the SquashFS filesystem gets uncompressed during read.
What about directory listing?
Richard
- 113
- 6
0
votes
1 answer
How to archive and compress large dataset into parts efficiently?
Currently using following model, but one needs double the amount of disk space to restore compressed archive given one has to pipe all parts to tar before one can delete them.
$ COPYFILE_DISABLE=true tar \
--create \
--directory ~/data/dataset…
sunknudsen
- 307
- 2
- 11
0
votes
0 answers
Get data from corrupt lz4 tar archive
I have a tar, that somehow got corrupt.
I very much need some certs and config files I backed up using said file.
Problem is, there's a corrupt folder in the archive and tar bails after hitting it.
Is there any way to force it to get past the…
unixandria
- 211
- 1
- 10
0
votes
1 answer
Cannot decompress multiple files with lz4
I have >100 lz4 files named like this:
-rw-r--r-- 1 root root 210M Apr 11 10:11 compressedfile.1-0.lz4
-rw-r--r-- 1 root root 208M Apr 11 11:35 compressedfile.1-1.lz4
-rw-r--r-- 1 root root 185M Apr 11 12:49 compressedfile.2-0.lz4
-rw-r--r-- 1 root…
dragon21century
- 3
- 3