Friday, April 9, 2010

Compress to multiple volume RAR


To compress a big video file, movie.avi and split it into multiple files, each size up to 12MB,

rar a -m5 -v12m myarchive movie.avi

A list of files (myarchive.part1.rar, myarchive.part2.rar, ..) will be created in current directory.

You may change the compression quality, -m5 is the best and the slowest, while -m0 do no compression at all (-m3 is default).

If you prefer the old file naming style (myarchive.rar, myarchive.r00, myarchive.r01, ..), add one extra switch -vn before the archive name.

To uncompress the files (myarchive.part1.rar, myarchive.part2.rar, ..),

rar e myarchive.part1.rar
more if you want to password protect the same, just add -p flag at the end and it will ask you to type password two times.

No comments:

Post a Comment