2 edited tags
| link
source | link

How to extract the Nth file using 7-zip

I have an archive which, for reasons beyond my comprehension, contains 900 files all with the same name. That means that if I ask 7zip to extract them all, at the end there is just one file. The solution, of course, is to ask 7zip to extract the files one at a time, and rename each one to something else.

But how, pray tell, do you ask 7zip to extract one particular file when they all have the same name??

Is there some way to ask 7zip to extract the Nth file in the archive? That would work...

(I want to do this from a script, so I don't really want to use 7zip's interactive mode.)