Monday, July 21, 2008

How To Support Compressed RAR File Types in Fedora

This entry aims to address file handling of RAR file types. If you are receiving this type of files from your inbox, you can configure your fedora linuxsystem to support RAR compressed file types.

Fedora repository supports rpm package designed to handle and uncompressed RAR file types via unrar rpm package.

UnRAR Installation - Support RAR File Types in Fedora Linux

Unrar rpm package is supported by Fedora repository.

To install unrar rpm package, simply

# yum -y install unrar

To Extract Compressed RAR Files


# unrar example.rar /home/user

The above would extract files inside the compressed RAR file example.rar into /home/user as its destination extraction directory.

To Extract RAR Files to Current Directory

# unrar e example.rar

To List All Archived Files inside RAR File

# unrar l example.rar

The above command would only list out the files inside the compressed RAR files.

To Verbosedly Extract RAR files with Full Path

# unrar xv example.rar

To convert output filenames into lowercase or uppercase filename using unrar, simply

For lowercase filename output conversion using unrar

# unrar cl example.rar

For uppercase filename output conversion using unrar

# unrar cu example.rar

To unrar files with specific file size like files with less than or more than specific file size,

For less than unrar usage

# unrar sl<size>

For more than unrar usage

# unrar sm<size>

Unrar supports many command line parameter, you can see its man page

# man unrar

All done.

1 comments:

Alex said...

Once my friend called me up and told about his problem. All his rar files were damaged. But I couldn't help him. I have awoken today. And decided to find curious tool. I was lucky - fix header in rar file. This tool resolved his issue quite easy and absolutely free as I kept in mind. Moreover it helped me too some hours ago in a hole.

Sign up for PayPal and start accepting credit card payments instantly.
ILoveTux - howtos and news | About | Contact | TOS | Policy