So when I use the list flag of
gzip the uncompressed size is listed as 3.5g (with ratio of -9.0%):
$ gzip -l piTorrentbox101216.gz compressed uncompressed ratio uncompressed_name 3843992911 3527409664 -9.0% piTorrentbox101216
But when I decompress the file I get an even bigger filesize than listed in the last command:
$ ls -l 7822376960 jan 26 13:02 piTorrentbox101216
I also tried decompressing using
7zip but it gives me this output:
$ 7z x piTorrentbox101216.gz 7-Zip  9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18 p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs) Processing archive: piTorrentbox101216.gz Extracting piTorrentbox101216 ERROR: E_FAIL
I want to burn this backed up image to my raspberrypi brand new SD card (which is 7.7g). I have already burned this image to an old card that was also 7.7g and it worked fine every time but now that the old SD is broken I had to buy a new one.
So, why is it that
gzip unzips more than it should? And how can I fix it?