linux檔案夾打包命令 .tar解包:tar xvf FileName.tar打包:tar cvf FileName.tar DirName(註:tar是打包,不是壓縮!)---------------------------------------------.gz解壓1:gunzip FileName.gz解壓2:gzip -d FileName.gz壓縮:gzip FileName .tar.gz解壓:tar zxvf FileName.tar.gz壓縮:tar zcvf FileName.tar.gz DirName--------------------------------------------- .bz2解壓1:bzip2 -d FileName.bz2解壓2:bunzip2 FileName.bz2壓縮: bzip2 -z FileName.tar.bz2解壓:tar jxvf FileName.tar.bz2 壓縮:tar jcvf FileName.tar.bz2 DirName---------------------------------------------.bz解壓1:bzip2 -d FileName.bz 解壓2:bunzip2 FileName.bz壓縮:未知.tar.bz 解壓:tar jxvf FileName.tar.bz 壓縮:未知---------------------------------------------.Z解壓:uncompress FileName.Z壓縮:compress FileName.tar.Z解壓:tar Zxvf FileName.tar.Z壓縮:tar Zcvf FileName.tar.Z DirName---------------------------------------------.tgz解壓:tar zxvf FileName.tgz壓縮:未知.tar.tgz解壓:tar zxvf FileName.tar.tgz壓縮:tar zcvf FileName.tar.tgz FileName---------------------------------------------.zip解壓:unzip FileName.zip壓縮:zip FileName.zip DirName---------------------------------------------.rar解壓:rar a FileName.rar壓縮:rar e FileName.rar