Re: [gthumb-list] personalized command



Il 02/10/21 00:59, Paolo Benvenuto via gthumb-list ha scritto:
Hi! I have trouble understanding how the command personalization works.

I want to apply this command to the selected images:

exiftool -d 'new name %Y-%m-%d--%H.%M.%S.%%e' '-filename<CreateDate' *

A first issue is: how do I avoid that gthumb interprets the "%"s as its own parameters? something like a "%%" parameter would be needed.


I agree, that's a missing feature

A second issue: how do I pass the file names? with %F (path)? the docs aren't clear: is it a path = the directory in which the file is or a path= the base name with the complete directories?

%F is the full path (directories + base name)


A third issue: if the expression for renaming has spaces, subdirs are created. How do I avoid this?

You have to use %quote, for example %quote{ text with spaces }




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]