extraire avec unrar sous (Extract with unrar on) linux

Ever since I switched over to Linux extracting files from win-rar archives was never a pleasant experience especially broken archives  .

Then I recently I discovered the power of Command line and suddenly I realised things got much easier .

So how do we go about Extracting win-rar archives ?

Well there are three methods

  1. Use Ubuntu’s inbuilt archive manager (File roller) , Personally I hate this program.
  2. Use Winrar itself on Wine , Ok but it doesn’t work as good as it does on Windows.
  3. Use unrar from terminal , Pure Brilliance !!

So lets Un-RAR the RARs

Open terminal and navigate to the folder where the archive is and  type

unrar e [filename].[rar]

replace [filename].[rar] with which ever archive you want to extract .

Add -kb switch to extract non-complete / broken archives

So for example to Extract Foo.rar

unrar e Foo.rar -kb

Some may consider this method as too long or not as easy as using a GUI , but once you get the hand of the command line This is the fastest method.

Please feel free to Post your comments and suggestions below

PS: If you are asking why the French title , well the answer is “Simply because I was in the mood to use Google translate” .