Zipping in Batch

March 21st, 2014

Here is my delima, I am getting ready to archive my entire movie collection, for example
I have 729 movies, in folder format within each folder is the AUDIO_TS and VIDEO_TS data ie:
MY MOVIE 1
MY MOVIE 2
MY MOVIE 3
What I am looking to do is select all of the movie folders and have a program like winrar or some other zip program zip them up and create individual file names for each folder. so the end result with the above example would be I would select
MY MOVIE 1 MY MOVIE 2 MY MOVIE 3
Say zip and then end result would be
MY MOVIE1.ZIP
MY MOVIE2.ZIP
MY MOVIE3.ZIP
Without having to do them one at a time, which is very very time consuming.
Any Ideas would be appreciated
Thank You all in advance
Dev

Answer #1
There’s really no point doing this,The file size will remain same,You can’t re-compress files that are already compressed!
What exactly are you trying to accomplish?
Answer #2
webdevii,
You have probably solved the issue already, as Roberto400
stated “What For!”
WinRAR will Split them into Volumes for you i.e 01 02 etc
But it will Take forever.
Buy the way! what are the ISP charges for your Broadband Service etc
Regards
Valdaz
Answer #3
There's really no point doing this,The file size will remain same,You can't re-compress files that are already compressed!
What exactly are you trying to accomplish?
It’s actually pretty much the reason why WinRAR was created for. It’s an archiver. People just found it convenient to use it to split files and send them over the internet. Archiving a large file with WinRAR along with parity archives or recovery records is far safer than just keeping the files by themselves. WinRAR isn’t the best at this sure but it’s readily available to anyone and it’s easy.
You can do a simple bat script like this (not tested just wrote it). You will need to add rar.exe to your system32 or windows dir. You can run rar /? for any assistance in switches and etc.
FOR /D /r %G in * DO rar %G.rar %G

 

| Sitemap |