Extract files from multiple levels or archive

Soldato
Joined
22 Oct 2005
Posts
2,829
Location
Moving...
At work I regularly have to extract files from archives. The structure of the archive varies, but It would typically be something along the lines of (top being the base archive, the rest are the lower levels):

- zip
- tgz
- tar
- folder
- couple of loose files and another tgz
- another folder
- cram
- whole bunch of files

Normally I just open up the archive using 7zip and run through it dragging the folders and files to a seperate folder. Obviously this is pretty inefficient, especially with larger archives.

Is there anyway I can automate this process? My programing knowlege is fairly basic but I've created a few programs in C/C#. I also know there's a command line version of 7zip. Perhaps I could combine that with some form of batch file run via the command prompt?

Thanks for any advice.
 
Back
Top Bottom