将gzip压缩的tar包分成大小为5MB的压缩包
$tar cvzf - example-dir/| split --bytes=5MB - myfiles.tar.gz.
输出示例:
$ls myfiles* myfiles.tar.gz.aa myfiles.tar.gz.ac myfiles.tar.gz.ae myfiles.tar.gz.ag myfiles.tar.gz.ab myfiles.tar.gz.ad myfiles.tar.gz.af
Linux如何将多个子压缩包文件解压:
$cat myfiles.tar.gz.* | tar xzvf
日期:2020-07-07 20:54:44 来源:oir作者:oir