category 07 / 10
Archives & compression
Tar, gzip, zip, and everything that packs or unpacks.
003
entries
3 min
avg read
044Check whether a compressed backup is corrupt before you need itgzip -tv *.gz033Find out which compressor actually wins on your data before you pick onefor c in gzip bzip2 xz; do printf '%-6s %10d\n' $c $($c -9 -c access.log | wc -c); done012See what is inside a tarball without extracting ittar -tzvf archive.tar.gz
showing 003 of 003