Mass Zip file help
- BlackHawk
- Retired Admin
- Posts: 1175
- Joined: Sun Oct 22, 2006 7:18 pm
- Location: Barberton, Ohio
- Contact:
-
Games Played
Ville Awards
Mass Zip file help
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
― W.C. Fields
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.
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
- Posts: 1175
- Joined: Sun Oct 22, 2006 7:18 pm
- Location: Barberton, Ohio
- Contact:
-
Games Played
Ville Awards
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.
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
― W.C. Fields
- Stevo
- Everlasting Villun
- 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
Re: Mass Zip file help
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.
This .script will do the opposite if you need to.
I hope this helps. You can just edit the line between the ECHO and SHIFT to do anything to the files.
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
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
- Stevo
- Everlasting Villun
- 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
Re: Mass Zip file help
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
Who is online
Users browsing this forum: No registered users and 7 guests