【linux】文件压缩分包与批量解压

将文件test分包压缩成10M 的文件:

tar czf - test | split -b 10m - test.tar.gz

后台运行:

nohup tar czf - test | split -b 10m - test.tar.gz &

批量解压缩:

cat test.tar.gz* | tar -xzv
posted @ 2020-08-21 10:45  Yanqiang  阅读(704)  评论(0编辑  收藏  举报