linux分卷压缩以及合并分卷
rar命令
分卷压缩,-v
和5m
之间不要有空格,5m
指的是分卷大小
rar a -v5m testfile.rar testfile
合并且解压
unrar x testfile.part1.rar
zip命令
先压缩不然就报错:zip error: Invalid command arguments (archive name must end in .zip for splits)
zip testfile.zip testfile
分卷
zip -s 5m testfile.zip --out testfile_fenjuan
利用cat
来合卷
cat testfile_fenjuan.z* > testfile.zip
解压
unzip testfile.zip
本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。
评论已关闭