Questions tagged [lz4]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
1k views

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, ...
pmor's user avatar
  • 579
2 votes
2 answers
533 views

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's user avatar
  • 579
0 votes
2 answers
625 views

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. ...
Richard's user avatar
  • 113
0 votes
1 answer
174 views

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 ...
sunknudsen's user avatar
2 votes
1 answer
1k views

# 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 ...
Lasith Anjula Galanga's user avatar
0 votes
0 answers
135 views

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 ...
unixandria's user avatar
3 votes
1 answer
2k views

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 ...
John S's user avatar
  • 121
5 votes
1 answer
2k views

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 ...
Chris Stryczynski's user avatar
3 votes
1 answer
997 views

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 $ ...
SebMa's user avatar
  • 2,109
1 vote
1 answer
502 views

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 ...
Matt F's user avatar
  • 31
0 votes
1 answer
2k views

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 ...
dragon21century's user avatar
38 votes
7 answers
25k views

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's user avatar
  • 51.1k