Linux Lite Forums

Software - Support => Tutorials => Topic started by: anon222 on August 22, 2014, 09:27:34 PM

Title: A simple way to move files
Post by: anon222 on August 22, 2014, 09:27:34 PM
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: [Select]
mv %F `zenity --file-selection --directory`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: [Select]
*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.
Title: Re: A simple way to move files
Post by: rbdflyboy on October 08, 2014, 07:50:36 AM
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.
Title: Re: A simple way to move files
Post by: anon222 on October 08, 2014, 08:41:35 AM
Zenity doesn't see /. Directories
Was confused by not being able to access the /. directories
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.
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.
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: [Select]
mv %F `zenity --title="Move Files" --file-selection --directory`Cheers :)
Title: Re: A simple way to move files
Post by: rbdflyboy on October 08, 2014, 10:39:30 AM
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