Using RAR On Your Linux Server.

Status
Not open for further replies.

CyberJ37

Active Member
1,493
2008
2
0
Note: You must already have RAR installed - http://www.wjunction.com/showthread.php?t=6570

This is just a basic tutorial.

RAR:
Archiving in 100MB parts:
Code:
rar a -v[I]100m[/I] file.rar movie.avi

Creating a password protected RAR archive:
Code:
rar a -p[I]yourpassword[/I] file.rar movie.avi

Compression level:
By using the -m parameter you can adjust the compression level.
The minimum value 0 while the maximum is 5.
When archiving movies, it is best to set the compression level to 0.
Code:
rar a -m0 file.rar movie.avi

As you can see, you can adjust these commands to suit your needs by just combining the parameters.

UnRAR:
Extracting an archive to your current directory:
Code:
unrar e archive.rar

Remember, this is not a full tutorial.
This is just a basic tutorial with the most useful commands.
 
6 comments
you do:

Code:
 rar a -m0 -v97m -ppassword test.rar foldername

-m0 = copression
-v97m =97mb just change it to what you wnat
-ppass = is if you need a pass
 
i usually use the command x rather then e
just so it prevents like all files to be extracted in a un-organised way.
for eg.
unrar x filename.rar

and it will create a folder with the name of the rar files name
then you just need to include that entire folder when rar'ing rather then manually creating a folder or moving files etxc.. :)
 
Curtis you are a legend, I never new you could extract them into a new folder of there own.

I use to waste so much time making new folders and things, thanks
 
Status
Not open for further replies.
Back
Top