A
A
Andrey Larin2019-06-07 19:21:20
linux
Andrey Larin, 2019-06-07 19:21:20

How to specify destination folder path for EXIF ​​photo sorter program in bash?

Hello! For sure, this is the simplest task for experienced linux users, but I could not figure it out.
Bottom line: there is a command for the terminal that looks like this.

exiftool "-Directory<DateTimeOriginal" -r -d "%Y.%m.%d" "/media/user/Photo/Unsorted"

It sorts photos into folders like "2019.03.25" from a bunch of files, parsing the creation date from EXIF. The problem is that you need to run it from the console while in the folder where these pictures will be collected . This is inconvenient, I want to have a shortcut on the desktop, by clicking on which, photos from the Unsorted folder would be collected in the Assorted folder. Is it possible to do so? Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2019-06-07
@engine9

Can.
Option 1 - set the working folder in the properties of the shortcut
Option 2 - add the transition to the desired folder to the command
cd каталог && exiftool ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question