Posted By

Jaymoon on 01/19/08


Tagged

archive rar unrar winrar


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Jaymoon
WaxWing


RAR files/directories


 / Published in: Bash
 

First you will need the 'rar' command: $ sudo apt-get install rar

The code snippet below will make 47.7MB split rar files of 'Home.Movie.iso'...

rar: is what runs the program.

a: adds the file to an archive

m5: defines the compression level. Ranges from 0 (fastest with least amount of compression) and 5 (slowest with more compression).

v47.7m: splits the rar parts into 47.7MB files

vn: uses the old naming format (.rar, .r00, .r01, etc.)

Archived.Home.Movie: the file naming structure for the rar files to follow.

Home.Movie.iso: the file (or directory) you want to archive.

  1. rar a -m5 -v47.7m -vn Archived.Home.Movie 'Home.Movie.iso'

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: miro4live on February 12, 2008

thank u

Posted By: WaxWing on May 7, 2011

This is great, thanks!

You need to login to post a comment.