Monday, 27 August 2007

Extract the RAR file in Linux

If you are using ubutu/debian, install the unrar package using apt-get

# apt-get install unrar


List the files in RAR archive

$ unrar l file.rar

To test the integrity of the RAR archive

$ unrar t file.rar

To extract the files into the current directory

$ unrar e file.rar

To extract the files into the some other directory(use full path)

$ unrar x file.rar

1 comment:

Alexis said...

I like cinema.And some times ago downloaded a film from inet.But one archive of this film was damaged.And I accidentally found in a blog next program-fix rar archives.It was free as far as I remember,moreover tool helped me very good.It can too retrieve all needed documents even from corrupted archives of RAR format.