how to use tar?

In UNIX, tar is the most useful tool to compress files (just like zip in Windows.)

To compress, input:

  tar -cvzf file.tar.gz inputfile1 inputfile2

to uncompress, input:

  tar -xvzf file.tar.gz

 

posted @ 2014-09-26 16:51  zmiao  阅读(175)  评论(0编辑  收藏  举报