Getting Started
-
4. Creating RAR Files with CLI
Now to Make RAR File on Command Line
First, to look up All Rar Commands simply run:rar
So to Create and Add Files to Archive use this Syntax:
rar a [MYARCHIVE].rar /[PATH2FILE1] /[PATH2FILE2]
Eg. for instance:
rar a test.rar ~/Pictures/mypicture1.jpg ~/Pictures/mypicture2.png
Then to List the newly created RAR File use:
ls . | grep rar
The grep Command refine the output List showing only the Entries matching the Keyword.
So Now I’m truly Happy if My Guide could Help you to Quick-Start with Rar on Oracle Linux 7!
Contents