Thank you to everyone for all the suggestions; I will look into these. The last time I looked I could not find anything to handle the use case of identifying the autobracketed images, so I took the homebrew approach with the Python script (which utilizes 'exiv2' for reading metadata).
To answer some questions that came up in the replies: * Operating systems: I was hoping for something cross-platform (like 'exiv2' and my Python script), but Linux-only will do in a pinch. * GUI vs. CLI: I was hoping to find a package accessible through the command line like 'exiv2', so I could somehow invoke it through Darktable and avoid external mass-edits to the database if I applied it on images already imported. * Specifics of the autobracketing problem: What my Python script does now is to read in all the metadata for a sequence of images, then scan through to identify subsequences that were taken on the same camera, within 30 seconds of each other, and whose exposure compensation data follows a specific pattern (e.g., k, k-2, k-1, k+1, k+2). It then puts all these images into a separate directory. The script needs improvement and I was hoping to avoid having to reinvent the wheel. (Adobe Bridge apparently provides this functionality in a script -- not a package I would use, but I thought there might be an open-source alternative.) -- August Schwerdfeger [email protected] On Fri, Nov 9, 2018 at 4:45 PM Bernhard <[email protected]> wrote: > > > Anton Aylward schrieb am 09.11.18 um 16:42: > > How i can rename xmp-files? with sed? > > You can't on the face of it. > Sed is a file CONTENT editor. the best you can do is 'save-as'. > It is a completely inappropriate tool for renaming. > > not really since if you rename a file already imported to dt you have to > rename the xmp, too. > Thing is that the xmp also *contains* the filename of the RAW and > therefore the *content* of the RAW must also be changed. > > -- > > regards > Bernhard > https://www.bilddateien.de > > > ____________________________________________________________________________ > darktable user mailing list to unsubscribe send a mail to > [email protected] > ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected]
