Compress:
tar cf - /path/dir | gzip -c > your_gzip_file.tar.gz
Decompress:
gzip -dc your_gzip_file.tar.gz | tar xf -
or
Compress:
tar cf - /path/dir | compress > your_compressed_file.Z
Decompress:
zcat your_compressed_file.Z | tar xf -
tar
最新推荐文章于 2021-05-12 07:10:00 发布