ubuntu批量解压分卷文件

xiaoxiao2021-02-27  143

zip

自动确认不覆盖

for i in *.zip;do echo n|unzip $i;done

echo n的作用是自动填充unzip要求确认是否覆盖文件的请求

Archive: ampdkl01.zip replace amped.part01.rar? [y]es, [n]o, [A]ll, [N]one, [r]ename:

自动确认覆盖

for i in *.zip;do echo y|unzip $i;done

rar

unrar是自动识别rar分卷压缩文件的,解压其中某一个就可以解压全部

$ unrar e ./amped.part02.rar
转载请注明原文地址: https://www.6miu.com/read-16022.html

最新回复(0)