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
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
转载于:https://www.cnblogs.com/miaoz/p/3995229.html