Tar (note: tar is packed, not compressed !) Unpack: tarxvfFileNametar package: tarcvfFileNametarDi
. Tar (note: tar is packed, not compressed !)
Unpack:
Tar xvf FileName.tar
Packaging:
Tar cvf FileName.tar DirName
. Gz
Extract 1:
Gunzip FileName.gz
Decompress 2:
Gzip-d FileName.gz
Compression:
Gzip FileName
.Tar.gz and. tgz
Decompress:
Tar zxvf FileName.tar.gz
Compression:
Tar zcvf FileName.tar.gz DirName
Use tar in combination with the find Command
Write the file name that is queried according to your own conditions to a file tmp. list.
Find/tmp-cmin + 24> tmp. list
Add all the files recorded in the file to the compressed package.
Tar-T tmp. list-czvf tmp.expire.tar.gz
. Bz2
Extract 1:
Bzip2-d FileName.bz2
Decompress 2:
Bunzip2 FileName.bz2
Compression:
Bzip2-z FileName
.Tar.bz2
Decompress:
Tar jxvf FileName.tar.bz2
Compression:
Tar jcvf FileName.tar.bz2 DirName
. Bz
Extract 1:
Bzip2-d FileName. bz
Decompress 2:
Bunzip2 FileName. bz
Compression: unknown
. Tar. bz
Decompress:
Tar jxvf FileName.tar. bz
Compression: unknown
. Z
Decompress:
Uncompress FileName. Z
Compression:
Compress FileName
. Tar. Z
Decompress:
Tar Zxvf FileName.tar. Z
Compression:
Tar Zcvf FileName.tar. Z DirName
. Zip
Decompress:
Unzip FileName.zip
Compression:
Zip-r FileName.zip DirName
. Rar
Decompress:
Rar x FileName.rar
Compression:
Rar a FileName.rar DirName
. Lha
Decompress:
Lha-e FileName. lha
Compression:
Lha-a FileName. lha FileName
. Rpm
Unpack:
Rpm2cpio FileName. rpm | cpio-div
Installation:
Rpm-ivh awstats-7.0-1.noarch.rpm