LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
File manager - can I set it to run a command on selected files
#1
Hi.

I often use LL when I manage my photo and video collection. I like to have control over the files last modified date, so if I have say converted an image into another format that new image file format would have set file modification date to the time when converted.

Therefore I manually use terminal and uses the touch command to (for the sake of example I put this name) make photograph.webp get the same modified date as photograph.jpg.
Code:
touch photograph.webp -dr photograph.jpg
This works for me, but I want to find out if there is possible to do this directly from file manager.

My idea is to set it up somehow so that in file manager I can select two files, and somehow have a menu that call on a command that involve the path of the two files.

Is this possible?
I won't let an old, but fully functional computer die just because some company tell me that they won't make no more security updates to their OS. Thanks Linux Smile
Reply
#2
See here - https://docs.xfce.org/xfce/thunar/custom-actions
Your Command would probably be something as simple as: touch %f
Reply
#3
Thank you very much, that seems to be the solution for me Smile
I won't let an old, but fully functional computer die just because some company tell me that they won't make no more security updates to their OS. Thanks Linux Smile
Reply
#4
...
... let the dead bury their dead (Matthew 8:22)
Reply
#5
(05-16-2018, 06:20 PM)NN link Wrote: Jerry, is it possible to add to 'custom actions' formatting a USB device like in Nautilus (and in Windows) in Thunar? What is the command? Thank you beforehand.

Not that I am aware of. This thread is Solved.
Reply
#6
...
... let the dead bury their dead (Matthew 8:22)
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)