Software - Support > Tutorials

A simple way to move files

(1/1)

rbdflyboy:
Thank you for this, will give it another try. Like the feature of being able to move batches of files. Have a .zip file with 100 Orion Nebula images in it. Don't want to open it just now...lol

anon222:

--- Quote from: rbdflyboy on October 08, 2014, 07:50:36 AM --- Zenity doesn't see /. Directories
Was confused by not being able to access the /. directories

--- End quote ---
It can display them. When a dialog pops out, just right-click inside and 'Show hidden files' or simply use the keyboard shorcut Ctrl+H.

--- Quote from: rbdflyboy on October 08, 2014, 07:50:36 AM --- Thunar would not move using the new command, until noticing the pop up window was labeled Zenity and not Thunar. Looks like an apples and oranges situation.

--- End quote ---
You can name the dialog to whatever you want.
I named it Move Files. You can rename it to Thunar or whatever you want as long as it is in the quotes, Like this "Right Here".

--- Code: ---mv %F `zenity --title="Move Files" --file-selection --directory`
--- End code ---
Cheers :)

rbdflyboy:
Tried this out and ran into a bit of a wall. Most file movement is done from my Downloads folder to the
Brushes, Plug-ins, and Scripts folders in the /.gimp 2.8 Directory. Zenity doesn't see /. Directories, so wound up switching back to Thunar.
Was confused by not being able to access the /. directories and why files in Thunar would not move using the new command, until noticing the pop up window was labeled Zenity and not Thunar. Looks like an apples and oranges situation. This feature may come in handy at a later time, for now must be able to move files within Thunar. Have a good deal of file work ahead of me because of all the image downloads used for the gimp. Planing on creating new folders in categories for easier and quicker access.

anon222:
1. Open the Thunar file manager
2. Click on Edit and then on Configure custom actions
3. Add A new custom action by clicking on a '+' button
4. Enter this in the text boxes:
Name: Move files
Description: Move files.
Command:

--- Code: ---mv %F `zenity --file-selection --directory`
--- End code ---
Icon: You can skip this or choose the icon of your choice.
5. Click on Appearance Conditions tab
6. In the File pattern enter:

--- Code: ---*
--- End code ---
7. Check all the boxes and confirm by clicking on OK.
To use this to move the files from the Desktop you will have to log out and back in.
Now you can right-click on any file and move it to another location.
You can select multiple files if you hold Ctrl.

Navigation

[0] Message Index

Go to full version