"All of this is possible using the Nautilus Actions add-in. As
its name suggests, this lets you add options to the right-click
menu that perform certain actions on particular types files.
It’s simple to create your own action, but hundreds of
ready-made scripts are available and can be imported easily."