I agree with this. The most versatile tool is the command line and tools
like exiftool, the swiss knife of the exif manipulation tools.
Cheers.
Jean-Luc
On 9/11/18 11:54, Stéphane Gourichon wrote:
Hello.
## Batch rename
I work with Linux and use ExifTool
<https://www.sno.phy.queensu.ca/~phil/exiftool/> (
https://www.sno.phy.queensu.ca/~phil/exiftool/ ) to rename all image
files, as in the example below :
exiftool -v -recurse '-FileName<${DateTimeOriginal}_%c_%-8f.%e' -d
%Y-%m-%d_%H.%M.%S ????????.JPG ????????.NEF
(Actually I've been using for years a script that renames files
according to EXIF info, and directories according to ranges of
timestamps, recursively. It's invaluable to me.)
The %c provides a way to guarantee no overwrite of any file: if
destination exists, a number is added to make file unique and not
overwrite any other file.
Alternatives are
* jhead <http://www.sentex.net/~mwandel/jhead/>
http://www.sentex.net/~mwandel/jhead/ ,
* exif <https://libexif.github.io/> https://libexif.github.io/,
* exiv2 <http://www.exiv2.org/> http://www.exiv2.org/ .
## Exposure compensation, bracketing
Can you elaborate your specific need that connects exposure-compensation
with autobracketing?
Here's an example:
exiftool -v -recurse
'-FileName<${DateTimeOriginal}_EC${ExposureCompensation}_%-c_%-8f.%e' -d
'%Y-%m-%d_%H.%M.%S' /tmp/somefile.nef
======== /tmp/somefile.nef
Setting new values from /tmp/somefile.nef
'/tmp/somefile.nef' --> '/tmp/2016-09-25_15.46.20_EC0__somefile.nef'
1 image files updated
Hope this helps.
Le 09/11/2018 à 02.21, August Schwerdfeger a écrit :
Can anybody recommend any good batch-renaming packages? I am
specifically looking to replace a homebrew Python script that uses
exposure-compensation metadata to identify sets of photos taken using
autobracketing (preferably with something I can invoke from within
Darktable).
--
Stéphane Gourichon
____________________________________________________________________________
darktable user mailing list to unsubscribe send a mail to
darktable-user+unsubscr...@lists.darktable.org
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org