On Friday 24 July 2009 09:45:09 am lynn wrote:
Brilliant. gzip takes it down to this: -rw-r--r-- 1 lynn users 12027697 2009-07-23 15:42 koncs.out -rw-r--r-- 1 lynn users 672819 2009-07-24 12:28 koncs.out.gz Amazing! That's sendable or putuppable so they can download it no?
How do I bzip2 it?
L x
You have probably figured this out already, but bzip2 koncs.out Will "replace" the file koncs.out with the compressed file koncs.out.bz2 bzip2 -k koncs.out Will "create" the file compressed koncs.out.bz2 while "keeping" the file koncs.out unchanged To compress multiple files (say koncs-1.out, koncs-2.out as a single bzip2 or gz tar file use the 'c' (create) option to tar: tar -cjf newkoncs.out.bz2 koncs* for gzip tar -czf newkoncs.out.bz2 koncs* (j is bzip, z is gzip, f says what follows next is the archive name) To extract the archives use 'x' instead of 'c'. To look at the files in the archive use 't' instead of 'x'. If you really want to look at tight compression try the newer xz compression routine. You will need the newer tar, and the tar options for xz compression is 'J'. (can save up to 50% beyond bz2 compression) You can simply download the new tar source file and compile it, then replace your existing /bin/tar file with the new one. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org