:: tar.gz
+ compress file / folder to tar.gz
+ listed content of compressed file
+ uncompress
on active directory
:: tar.bz2
+ compress
+ listed content of compressed file
+ uncompress
on active directory
:: zip
+ compress file to zip
+ listed content of compressed file
+ uncompress
on active directory
:: links
+ googlelinux
+ man tar zip unzip
+ compress file / folder to tar.gz
[ linux: ~ ]$ tar -czf filename.tar.gz file folder/+ listed content of compressed file
[ linux: ~ ]$ tar -tf filename.tar.gz+ uncompress
on active directory
[ linux: ~ ]$ tar -xzf filename.tar.gzextract files into exdir[ linux: ~ ]$ tar -xzf filename.tar.gz -C /path/to/ex/dir:: tar.bz2
+ compress
[ linux: ~ ]$ tar -cjf filename.tar.bz2 file folder/+ listed content of compressed file
[ linux: ~ ]$ tar -tf filename.tar.bz2+ uncompress
on active directory
[ linux: ~ ]$ tar -xjf filename.tar.bz2extract files into exdir[ linux: ~ ]$ tar -xjf filename.tar.bz2 -C /path/to/ex/dir:: zip
+ compress file to zip
[ linux: ~ ]$ zip -r9 filename file folder/+ listed content of compressed file
[ linux: ~ ]$ zipinfo filename.zip+ uncompress
on active directory
[ linux: ~ ]$ unzip filename.zipextract files into exdir[ linux: ~ ]$ unzip filename.zip -d /path/to/ex/dir:: links
+ googlelinux
+ man tar zip unzip
Comments
Post a Comment