ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: automate delete files from a .7z archive

(1/2) > >>

3dpinballchamp:
i want to delete certain files from 7zip archives,
i have a list of files to delete, any way to automate the task?
thanks

db90h:
Yes, simple. Use the command line version of 7z, named 7z.exe. Then with a simple command to it (run it to get help) you can delete files from the archive. Create a batch file if you need to do more than one operation.

3dpinballchamp:
how can i use it for the task? all the 7z files are in one folder and the list doesnot

db90h:
I am sure someone here has the time to explain it to ya.. there are multiple people more than qualified. It's really very easy stuff at the command line. I wish I had more time, sorry. If I do get more time, I'll try to help. It is doable though, and easier than you think.

If you have multiple files to work on, a BATCH file with a file based loop will work great. There are plenty of BATCH experts here I'm sure.

skwire:
What sort of format is the list of files to delete in?  One filename per line?  Is the path included?  If possible, can you post a snippet of the file?

Navigation

[0] Message Index

[#] Next page

Go to full version