Forum Settings
       
Reply To Thread

Compressed files questionFollow

#1 Jul 15 2010 at 9:51 PM Rating: Decent
Scholar
****
4,593 posts
So I have a folder, inside said folder is a few hundred other folders, inside those may be other folders...some of those folders have zip files in them that need to be unzipped, in place.

Anyone know of a way to search the original folder, drill down, unzip the files that are found and perhaps remove the original zipped file. Without 30 hours of searching?
#2 Jul 15 2010 at 9:53 PM Rating: Decent
Scholar
****
4,593 posts
A way to completely remove the folder structure would work as well.
#3 Jul 15 2010 at 10:00 PM Rating: Excellent
****
5,684 posts
you mean, like the find feature in winrar?
#4 Jul 15 2010 at 10:01 PM Rating: Decent
Scholar
****
4,593 posts
...there's a find feature in winrar?
#5 Jul 15 2010 at 10:06 PM Rating: Decent
Scholar
****
4,593 posts
Oh my god, there is too...


move along, nothing to see here.
#6 Jul 15 2010 at 11:02 PM Rating: Decent
***
1,094 posts
What in the world are you doing with a folder with hundreds of subsequent folders in it?
#7 Jul 15 2010 at 11:15 PM Rating: Good
****
5,550 posts
CestinShaman wrote:
What in the world are you doing with a folder with hundreds of subsequent folders in it?

Categories of ****, duh. Tonight's menu : #s, and abused through Asian, possibly asshole if he speeds through.

Edited, Jul 15th 2010 11:16pm by Tarub
#8 Jul 15 2010 at 11:29 PM Rating: Decent
Repressed Memories
******
21,027 posts
You might want to consider hiding files in ways that can't be thwarted by basic competence. For example:
Screenshot
#9 Jul 15 2010 at 11:37 PM Rating: Good
The Mandelbrot set ******* a unicorn with Gabriel's horn? Gross, Allegory. Real gross.
#10 Jul 15 2010 at 11:41 PM Rating: Decent
Repressed Memories
******
21,027 posts
It's being violated in ways that don't exist and can't be understood.
#11 Jul 15 2010 at 11:50 PM Rating: Good
Avatar
*****
13,240 posts
Owww, my non-euclidean eyes.

Friends don't do that to friends, Allegory.

____________________________
Just as Planned.
#12 Jul 15 2010 at 11:56 PM Rating: Good
Avatar
*****
13,240 posts
Sidenote: you do realize you don't have to folderspam. You can just abuse Hidden-type folders.
____________________________
Just as Planned.
#13 Jul 16 2010 at 2:57 AM Rating: Good
*****
15,512 posts
TrueCrypt, if it's really nasty.
#14 Jul 16 2010 at 8:09 PM Rating: Good
****
4,901 posts
Timelordwho wrote:
Sidenote: you do realize you don't have to folderspam. You can just abuse Hidden-type folders.


Or use an alternate file stream.
____________________________
Love,
PunkFloyd
#15 Jul 17 2010 at 12:41 AM Rating: Good
Or call your folder something like "The Effects of Changing Patent Law on Pin Manufacturing, 1903 - 1978" and set the folder image to a pin or something.
#16 Jul 19 2010 at 1:30 PM Rating: Decent
Scholar
****
4,593 posts
It was a library of documents actually. Nested folders by various categories each folder compressed within compressed folders in alternating compression types (RAR and ZIP).

I managed to get them all extracted using the find files feature in windows and a drag n drop bulk extraction tool. It was fairly quick.

I then set the computer cataloging the files. This morning was 3 days at 100% CPU usage, it was at 87% complete. My CPU cores were at 80C Saturday...I hosed the CPU down with a can of compressed air and dialed back some settings.
#17 Jul 19 2010 at 3:29 PM Rating: Decent
Encyclopedia
******
35,568 posts
If you were running a real operating system, you'd just run something like this in the directory:

find . -name \*.zip -exec unzip {} \;

Profit!
____________________________
King Nobby wrote:
More words please
#18 Jul 19 2010 at 8:35 PM Rating: Decent
Scholar
****
4,593 posts
Yes, I should have just switched over to my linux partition and ran it from there, but I need the files on my Windows drive and frankly I don't trust Linux's NTFS compatibility enough to transfer these files (it's 35GB of 0.5-1.4MB files) across drives.
#19 Jul 19 2010 at 9:19 PM Rating: Decent
Encyclopedia
******
35,568 posts
Yodabunny wrote:
Yes, I should have just switched over to my linux partition and ran it from there, but I need the files on my Windows drive and frankly I don't trust Linux's NTFS compatibility enough to transfer these files (it's 35GB of 0.5-1.4MB files) across drives.


Ah. So a horde of files stored on a local NTFS partition? Hopefully, not mission critical data... ;)

On a related note (well, file compression related anyway), ran into an oldie-but-goodie from the "strange problems" department. AE calls up. He's having issues with a tar.gz file he transferred over from a vendor (he's a vendor consultant, so technically from his own site, but whatever). He gunzips the file, but when he tries to untar it, it gives him a checksum error. He's tried multiple copies and can't figure out what's going on. My spidey sense starts tingling cause I know I've run into this before. But what could it be!?

I copy the file. Gunzip it. Untar it. Same checksum error (always have to check for pebkac). Remember what problem likely is. Run file on the tar file and it says it's a gzip compressed file! Lol... Someone gzipped it twice (and renamed it in between). Gotta love that. Rename .tar to .tar.gz. Gunzip again. Untar. Heavens part and music plays. I'll have to remember to add this one to my list of interview problems. Lots of people seem to forget (or don't know) that while unix style OSes don't care about file extensions natively, many of the tools (especially compression tools) are braindead if the extensions don't match what they expect. It's quite possible to ***** yourself renaming files and it's *not* a mistake if the file extension reads something like .tar.Z.gz.gz. It's stupid to have ever created such a monstrosity and someone should be shot, but you'll really ***** yourself over renaming it to clean up the extra long name.
____________________________
King Nobby wrote:
More words please
#20 Jul 20 2010 at 2:24 PM Rating: Decent
Scholar
****
4,593 posts
I got half way through that and thought "haha, it's double zipped", seen that before, not often, but it happens.
Reply To Thread

Colors Smileys Quote OriginalQuote Checked Help

 

Recent Visitors: 368 All times are in CST
Anonymous Guests (368)