Mass Zip file help

A forum for computer hardware and software issues
Post Reply
BlackHawk
Retired Admin
Retired Admin
User avatar
Posts: 1175
Joined: Sun Oct 22, 2006 7:18 pm
Location: Barberton, Ohio
Contact:

Games Played

Ville Awards

DJ ARTiQ’s avatar
Loading…

Mass Zip file help

Post by BlackHawk » Fri Oct 12, 2007 4:38 pm

I have an interesting problem. I just got a new DJ program that can not read my karaoke zip files because they are zipped strangely. I need a way to unzip and re-zip almost 75,000 files keeping the same zip file names, and if they can rename the files within to be the same as the zip file (without touching the extention) that would be an added bonus.
“I cook with wine, sometimes I even add it to the food.”
― W.C. Fields

Gen.Ben
Villun
Villun
User avatar
Posts: 1443
Joined: Wed Mar 14, 2007 5:34 pm

Ville Awards

General Ben’s avatar
Loading…

Post by Gen.Ben » Fri Oct 12, 2007 10:58 pm

You can use winrar, Just CTRL+A to select all the the zip files, right click, extract here.

It will keep all the file names.

Winrar is probably the best bet. You can fiddle around with it and you can get it to do what you want.
[img]http://i190.photobucket.com/albums/z80/Gen-Ben/l3eeron/SMS_genben_sig.png[/img]

BlackHawk
Retired Admin
Retired Admin
User avatar
Posts: 1175
Joined: Sun Oct 22, 2006 7:18 pm
Location: Barberton, Ohio
Contact:

Games Played

Ville Awards

DJ ARTiQ’s avatar
Loading…

Post by BlackHawk » Fri Oct 12, 2007 11:19 pm

That is what I normally use, however you can only creat one archive at a time, I need it to create 75,000. It would take too long to make them one at a time. Now if someone knows a program that will create multiple zip archives at once from the directories. Here is the example

each fold contains a .mp3 and a .cdg file.

folders -

Smiths, The - How Soon Is Now\
Joy Division - Love Will Tear Us Apart\
Cure, The - 10.15 Saturday Night\

become

Smiths, The - How Soon Is Now.zip
Joy Division - Love Will Tear Us Apart.zip
Cure, The - 10.15 Saturday Night.zip

each .zip contains only the mp3 and cdg files and no directories.
“I cook with wine, sometimes I even add it to the food.”
― W.C. Fields

Stevo
Everlasting Villun
Everlasting Villun
User avatar
Posts: 8753
Joined: Sun Oct 22, 2006 10:01 pm
Location: Orange County, CA
Minecraft name: StevoTVR
Uplay name: StevoTVR
Contact:

Games Played

Ville Awards

StevoTVR’s avatar
Loading…

Re: Mass Zip file help

Post by Stevo » Sat Oct 13, 2007 11:50 am

I made some simple batch files that might help. They use ALZip for the command line interface which you can download below.
http://www.altools.net/Downloads/Downlo ... fault.aspx

Just copy this code (make sure to edit the path to ALZip.exe) into a text editor and save them with the .bat extension in the folder where you keep all the folders you want to compress into zip files. Then just drag all the folders into the bat file and it will do all the work for you.

Code: Select all

:: Will compress all files into individual archives with ALZip
@ECHO OFF
:TOP
IF (%1)==() GOTO END
ECHO %1
"C:\Program Files (x86)\ESTsoft\ALZip\ALZip.exe" -a %1 %1.zip
SHIFT
GOTO TOP
:END
PAUSE
This .script will do the opposite if you need to.

Code: Select all

:: Will uncompress all archives with ALZip
@ECHO OFF
:TOP
IF (%1)==() GOTO END
ECHO %1
"C:\Program Files (x86)\ESTsoft\ALZip\ALZip.exe" -x %1
SHIFT
GOTO TOP
:END
PAUSE
I hope this helps. You can just edit the line between the ECHO and SHIFT to do anything to the files.

Stevo
Everlasting Villun
Everlasting Villun
User avatar
Posts: 8753
Joined: Sun Oct 22, 2006 10:01 pm
Location: Orange County, CA
Minecraft name: StevoTVR
Uplay name: StevoTVR
Contact:

Games Played

Ville Awards

StevoTVR’s avatar
Loading…

Re: Mass Zip file help

Post by Stevo » Sat Oct 13, 2007 1:10 pm

Disregard that first .script. I read your post a little closer and that .script will have the folder inside the zip, which you don't want. This revised .script will take all the files within the folder and put it in a zip with the name of the folder:

Code: Select all

:: Will compress all files in a dir into individual archives with ALZip
@ECHO OFF
:TOP
IF (%1)==() GOTO END
ECHO %1
"C:\Program Files (x86)\ESTsoft\ALZip\ALZip.exe" -a %1\*.* %1.zip
SHIFT
GOTO TOP
:END
PAUSE

BlackHawk
Retired Admin
Retired Admin
User avatar
Posts: 1175
Joined: Sun Oct 22, 2006 7:18 pm
Location: Barberton, Ohio
Contact:

Games Played

Ville Awards

DJ ARTiQ’s avatar
Loading…

Post by BlackHawk » Sun Oct 14, 2007 3:33 am

Thank you Stevo. sad to think that at one time I used to be able to do this all myself, now I do so little with command lines that I can't remember most of it. I owe you
“I cook with wine, sometimes I even add it to the food.”
― W.C. Fields

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests