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.
[05:47 pm]
NimoStar -- If its any consolation, the human brain would still mop the floor with this bot if it wasn't limited by the mechanical interface
[05:34 pm]
NimoStar -- Well. The bot didn't come up with any new strategy. It just has superhuman micro. Hard to beat that. I reckon even the simplest dedicated chess engines are unbeatable for humans now.
[02:13 pm]
Oh_Man -- all g
[10:54 am]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider did u watch the entire video? it's not one game. it's currently dominating the ladder at number 1 position. do ur research first!
Oops, caught me there, no I haven't. :( I was imagining how the game went. Sorry for that. Watching it now. brb
[10:52 am]
NudeRaider -- NimoStar
NimoStar shouted: They were not "Unprepared" that was their fifth loss in a row against the bot. The other replays are also available
that doesn't mean he was prepared. When humans come around with new strategies it often takes weeks until the pros figure out how to shut it down. Oh_Man that's certainly a way more convincing argument for micro being "too good to beat".
[09:43 am]
DiearAnother -- wirefram
[08:35 am]
NimoStar -- Well, pros showed that long ago... half of zerg pros just ling muta rush
[08:35 am]
NimoStar -- " its shown is that you can trade 1000's of apm to make up for lack of strategy"
[03:25 am]
Oh_Man -- https://youtu.be/R_6bsf9REkY anyone ever tried playing SC ghost?
Please log in to shout.


Members Online: NimoStar