Compress & Uncompress Commands

[**.tar**](http://en.wikipedia.org/wiki/Tar_%28file_format%29 "tar (file format)") compress? tar cvf FileName.tar DirName uncompress? tar xvf FileName.tar [**.gz**](http://en.wikipedia.org/wiki/Gzip "gzip") compress? gzip FileName uncompress1? gunzip FileName.gz uncompress2? gzip -d FileName.gz **.tar.gz** compress? tar zcvf FileName.tar.gz DirName uncompress? tar zxvf FileName.tar.gz [**.bz2**](http://en.wikipedia.org/wiki/Bzip2 "bzip2") compress? bzip2 -z FileName uncompress1? bzip2 -d FileName.bz2 uncompress2? bunzip2 FileName.bz2 **.tar.bz2** compress? tar jcvf FileName.tar.bz2 DirName uncompress? tar jxvf FileName.tar.bz2 **.tar.Z** compress?tar zcvf FileName.tar.Z DirName uncompress? tar zxvf FileName.tar.Z [**.zip**](http://en.wikipedia.org/wiki/ZIP_(file_format) "ZIP_(file_format)") compress?zip FileName.zip DirName uncompress? unzip FileName.zip > * ".tgz" = ".tar.gz" * ".tbz" (or ".tbz2" or ".tb2") = ".tar.bz2" * ".taz" = ".tar.Z" *** ช่วงนี้มีโอกาสได้ใช้ [Secure Shell (SSH)](http://en.wikipedia.org/wiki/Secure_Shell "Secure Shell") เลยรวมรวมคำสั่งเอาไว้หน่อย เมื่อก่อนใช้แต่ FTP ธรรมดา ต้อง unzip ในเครื่อง local แล้วค่อยอัพโหลดขึ้นเซอร์เวอร์ทีละไฟล์ เสียเวลามากมาย

Comments

VALENCIAArline31's picture

Re: Compress & Uncompress Commands

I had got a dream to make my company, but I did not have enough amount of money to do this. Thank goodness my close dude recommended to use the business loans. Hence I received the short term loan and made real my dream.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.