tar

tar cf a.tar ./b

c stands for creating a file. f indicates the filename.

tar Jcf a.tar.xz a.tar

Zip a file to make it smaller.

tar xf a.tar.xz

Unzip a file.

你可能感兴趣的:(tar)