DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Creating batch archive.  (Read 14,561 times)

foxtrot1213

  • Participant
  • Joined in 2008
  • *
  • Posts: 1
Creating batch archive.
« on: October 30, 2008, 06:03 PM »
So I am copressing the files and splitting them in parts:

For example MyVideo.avi (800MB) is splitted into:

MyVideo.part1.rar (100MB)
..
...
...
MyVideo.part8.rar (100MB)

I would like to do this to all avi files in a folder. And I would like to test the archives as well
How can I do this? Because right now, I am doing these compressions manually which takes sometime :(

Thanks in advance

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Creating batch archive.
« Reply #1 on: November 05, 2008, 11:32 AM »
foxtrot, this is the kind of thing Drag and Drop Robot is good at.
What you'll have to figure out is what the commandline options are in winrar to compress and split and then just create a new job.
Then just drag your avi files into the window and go.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: Creating batch archive.
« Reply #2 on: November 06, 2008, 02:36 AM »
you have to run two separate commands - one to archive & another to test.

from helpfile of Winrar..
•  WinRAR  a -v100mb <archivename> <MyVideo.avi>
•  WinRAR  t <foldername>\*.rar

bodo75

  • Participant
  • Joined in 2009
  • *
  • Posts: 1
Re: Creating batch archive.
« Reply #3 on: February 07, 2009, 09:06 AM »
Hey foxtrot1213

try this:

C:\Program Files\WinRAR\Rar.exe A -t -v98078 "%A.rar" "%NO"

(the -t tests the archive at the end)

You will have to drag the files in the window and not the directory tho...

But winrar can do it itself..

Just highlight all the files, right click - add to archive... set your preferences in the first tab... then do check the below box in the "files" tab:









That a

Original address: https://www.donationcoder.com/forum/index.php?topic=15536.0