In this tip we will see a bash script that will help you move selected files or folders to a new folder using the context menu (right-click menu) under Ubuntu 11.10. This bash script depends on GNOME 3.x.

Getting Started

Open the terminal and install this bash script with these commands:

wget http://gnome-look.org/CONTENT/content-files/146179-groupMkDir.tar.gz
tar -xzvf 146179-groupMkDir.tar.gz
mv ~/"Nautilus Script"/"Group into new folder" ~/.gnome2/nautilus-scripts
mv ~/.gnome2/nautilus-scripts/"Group into new folder" ~/.gnome2/nautilus-scripts/"Move To A New Folder"

The script is now installed and ready for use. Select a group of files and make a right-click, then choose Scripts > Move To A New Folder:

Give a name for this new folder and click OK:

The new folder will be created in the current folder where the selected files are saved.

That's it!

Post a Comment