Proprietary Roshal ARchive
, after it's creator Eugene Roshal.
Can do split archive.
Split archive extensions match the following Perl regexes:
.part\d+\.rar
.r\d+
Extract contents of a.rar
to ./
unrar x a.rar
Before / after:
a.rar
/dir1/
/dir1/f1
/dir1/f2
===============
a.rar
dir1/f1
dir1/f2
Out to ./out/
directory, creates this directory if necessary:
unrar x a.rar out
Extract multipart RAR:
unrar x a.r00
unrar x a.part1.rar
Recursively find all files in a.rar
, and outputs them to current dir with old basename possible name conflicts:
unrar e a.rar
Sample output:
a.rar
/dir1/
/dir1/f1
/dir1/f2
===============
a.rar
f1
f2
a
for add:
rar a dir.rar dir