From: Sedat D. <sed...@gm...> - 2013-01-16 13:43:17
|
Hi, why do you name your BZ2-tarballs with the right and common file-extensions ".tar.bz2"? $ file ltp-full-20130109.bz2 ltp-full-20130109.bz2: bzip2 compressed data, block size = 900k $ bunzip2 ltp-full-20130109.bz2 $ file ltp-full-20130109 ltp-full-20130109: POSIX tar archive (GNU) $ tar -xf ltp-full-20130109 $ ls -l insgesamt 12 drwxrwxr-x 3 wearefam wearefam 4096 Jan 16 14:33 ./ drwxrwxr-x 3 wearefam wearefam 4096 Jan 16 14:33 ../ drwxr-xr-x 16 wearefam wearefam 4096 Jan 9 10:21 ltp-full-20130109/ And why don't you use XZ compressor? Even traditional GNU folks switched to efficient XZ :-). $ tar -c --xz -f ltp-full-20130109.tar.xz ltp-full-20130109/ $ tar -c --bzip2 -f ltp-full-20130109.tar.bz2 ltp-full-20130109/ $ du -k ltp-full-20130109.tar.bz2 ltp-full-20130109.tar.xz 3688 ltp-full-20130109.tar.bz2 2892 ltp-full-20130109.tar.xz 796KiB file-size saved! Thanks! Regards, - Sedat - |