Staredit Network > Forums > Technology & Computers > Topic: Unzipping zip files in zip files
Unzipping zip files in zip files
Oct 1 2012, 11:09 pm
By: rockz  

Oct 1 2012, 11:09 pm rockz Post #1

ᴄʜᴇᴇsᴇ ɪᴛ!

So some idiot decided to put a zip file in a zip file (possibly in a zip file). Well it's bullshit trying to find anything in such a silly file structure, so I was wondering if anyone knew a simple command line to extract everything. Essentially I want to change each .zip file to just a folder. There are well over 10000 files I'm dealing with.

http://puu.sh/1awBF

Here's a test file that has 5 idiotic layers.

7z x -r *.zip doesn't work. In fact it extract to the current directory. Ideally I want to extract ./Layer_1.zip to ./Layer_1, if that makes any sense.

Bonus points for a windows applicable solution.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Oct 2 2012, 12:18 am Lanthanide Post #2



Unless there are multiple zip files at each layer, what's the problem? Your example has only a single zip file in each layer. Also, even if it does have multiple zip files in a single layer, it seems likely they would all be part of the same zip file, so an unzip utility should easily be able to handle that.



None.

Oct 2 2012, 5:00 am ShadowFlare Post #3



The easiest way to do that would probably be with a scripting language, maybe a more shell-oriented one.



None.

Oct 2 2012, 4:27 pm NudeRaider Post #4

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

1st google result: http://www.instantfundas.com/2010/11/recursively-extract-multiple-rar-or-zip.html




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
Please log in to shout.


Members Online: DiearAnother, Zycorax, 3gabriellac33100wB6