Am Mittwoch, 23. August 2017, 17:46:35 CEST schrieb [email protected]: > DT 2.2.5 on arch > > I have a 25000 images catalog. The images directories are: > > /darktable/ > /darktable/animals > /darktable/animals/cats/ > /darktable/animals/cats/2015 > /darktable/animals/cats/2016 > /darktable/animals/cats/2017 > /darktable/animals/dogs/ > /darktable/animals/dogs/2015 > /darktable/animals/dogs/2016 > /darktable/animals/dogs/2017 > /darktable/animals/older-dogs/ > /darktable/animals/streets/ > /darktable/animals/streets/2015 > /darktable/animals/streets/2016 > /darktable/animals/streets/2017 > /darktable/people > /darktable/places > /darktable/projects > /darktable/@work > > You get the idea... > > The files are named: dogs-vancouver-yyyymmdd-9999.cr2 > > So far, it's been me only. > > I'd like to rename all of my images to include my initials at the > beginning of the image name. > > I will be doing the catalog for another person and will use her initials > when I do the import. > > I'd like to have: > > sr-dogs-vancouver-yyyymmdd-9999.cr2 > > What do you suggest to rename all the files. > > BTW, I save the xmps.
Make sure to rename those, too. > I'd like, if possible, not have to delete the whole catalog and > reimport from scratch. If you rename the files then removing the images from dt and importing again after you renamed them is your only easy option. If you are familiar with SQL you can make a backup of your ~/.config/darktable/ library.db and then prepend "sr-" to the "filename" column for all entries in the "images" table. That should make darktable see the renamed files. Something like this should do (caution: untested, make backup first): UPDATE images SET filename = "sr-" || filename; If you are fine with not renaming every file but making a new top level folder "sr" and one for the other person and moving the whole hierarchy under that folder, then a right click in the folder mode of the collect module will allow you to tell darktable about the new location. > What about all my presets? If you are using 2.2.0 or newer then your presets are in a separate database (data.db) so you won't lose them. > Thanks > > Syv Tobias
signature.asc
Description: This is a digitally signed message part.
