如何使用7-Zip从多个zip存档中删除文件 [英] How to delete a file from multiple zip archives using 7-Zip
本文介绍了如何使用7-Zip从多个zip存档中删除文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一千个zip压缩文件,所有压缩文件都包含我要删除的文件。我可以从命令行中一次获得7Zip一次删除一个文件:
I have a thousand zip archives that all contain a file I want to remove. I can get 7Zip to remove them one file at a time from the command line:
7z d -r archive.zip *.pdf
但是我如何将其应用于所有文件,这些文件本身又分组在子目录中?
but how would I apply that across all the files, which are themselves grouped in sub-directories?
推荐答案
尝试一下:
for /r %v in (*.zip) do 7z d -r "%v" *.pdf
但是不知道它是否有效,只是写出我的脑袋:P
But no idea if it's working, just wrote out of my head :P
这篇关于如何使用7-Zip从多个zip存档中删除文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文