On Sunday 21 January 2007 20:04, John Meyer wrote: > And while we're at it, let's see what the -9 does: > > before adding -9 to the script: > total 44523 > -rw-r--r-- 1 jmeyer users 44065843 2007-01-21 18:01 Pictures.tar.gz > [EMAIL PROTECTED]:~/backups> backupfiles.sh > After adding -9 > [EMAIL PROTECTED]:~/backups> ls -al > total 44528 > -rw-r--r-- 1 jmeyer users 44066020 2007-01-21 18:01 Pictures.tar.gz
Photos/graphics data often compresses poorly. Most image formats already include some kind of compression, so they are not likely to compress any further. Text and object files tend to compress a little better. Here's what the man page says about the gzip compression levels: -# --fast --best Regulate the speed of compression using the specified digit #, where -1 or --fast indicates the fastest compression method (less compression) and -9 or --best indicates the slowest compression method (best compression). The default compression level is -6 (that is, biased towards high compression at expense of speed). This is a directory containing a lot of source code compressed with various gzip compression levels: -rw-r--r-- 1 kenjen users 247813 2007-01-21 21:46 csv1.tar.gz -rw-r--r-- 1 kenjen users 185071 2007-01-21 21:46 csv6.tar.gz -rw-r--r-- 1 kenjen users 182500 2007-01-21 21:41 csv9.tar.gz -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
