Nautilus
includes a special folder
where you can store your scripts. When you add an executable file to this
folder, the file is added to the Scripts submenu.
To run a script choose File -> Scripts, then choose the script that you want to
run from the submenu.
To run a script on a particular file, select the file in the view pane. Choose File -> Scripts, then choose the script that you want to run on the file from the submenu. You can also select multiple files to run your scripts on.
To view the contents of your scripts folder, choose File -> Scripts -> Open Scripts Folder.