This project is read-only.

unzip a zip file within a zip file

Jun 6, 2011 at 9:31 PM

I have a text file that is zipped twice (zipped within another zip file). How can I extract it without running the code twice? I am using the code to unzip files within different levels of sub-directories - therefore I already have a lot of for-loops. The idea is to have as little for-loops as possible.Thanks

Jun 8, 2011 at 2:18 AM

Well you will need another level of unzipping if there is a zip within a zip.  Not an additional for-loop maybe, but perhaps another level of recursion.