To start off, we will need to open a terminal window and type in the following command, which will create a new script file in our nautilus scripts directory

Paste in the following script, found on the G-Scripts site, which is a great resource for finding scripts.

Save and close the gedit window, and then execute the following command to make the script executable:

Note that tab completion really helps here =)

Now when you right click a file, you should see this:

Tested on: Ubuntu Dapper, Ubuntu Edgy Eft