RAR creation script for Ubuntu / Nautilus

Screenshot showing make-rar menu item being selected

One thing I really miss from my time in the Windows world is the robust integration between Windows Explorer and my favorite archive program, WinRAR.  Here’s a script I wrote for Ubuntu / Nautilus to quickly create a RAR archive from a selection of files/folders.

By default, this script will create a new archive with a 10% recovery record.  Additionally, the archive creation is set for “synchronize archive contents.”  Feel free to adjust these settings to suit your needs.

Installation

  1. Install RAR on your computer, activate the software with a paid license if necessary
  2. Download the file [make-rar.sh, 2KB]
  3. Copy it to ~/.gnome2/nautilus-scripts
  4. Grant the file execute permissions

Usage

  1. Right-click on a file or folder to compress
  2. Click Scripts > make-rar.sh
  3. Enter the RAR filename (no spaces or file extension, .RAR will be added automatically)
  4. To encrypt the archive, enter a password (leave the password dialog blank for an unencrypted archive)
  5. A dialog will show with the results of the archive process — ensure that the archive is created without error, and that the verification pass was successful (All OK/Done message at the bottom)


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.