In my portfolio of images, I have .JPGs which could be categorised as ‘stand-alone’ and those which are not so, being ‘paired’ with a raw file. How can I easily isolate these ‘paired’ JPGs, so they can be deleted, while protecting/retaining the ‘stand-alone’ JPGs? This could be done in either Windows or Linux, which ever is easier (which I guess is Linux) or even inside an app. like darktable. Any advice ?
I have seen scripts for this before…not sure if this is the one I recall but sounds like if it works its your tool…
Thanks for this. After reading the documentation, it sounds sufficiently relevant for me to try it (and possibly test my backup strategy!).
The identification of jpgs in a ‘raw+jpg’ pair works correctly. I morphed the log file into 2 ‘bat’ files to remove the jpg and the jpg.xmp files, but I’m left with the main problem of how to remove the (now deleted) jpg images from darktable. I had expected the ‘skulls’ to be displayed for the deleted images, but they are not - I just get a message saying the image is unavailable if I try to open it.
Likely just regenerate the cache…there is also a purge script…one of the two should work I believe
Wow, this script is a knock-0out, isn’t it? All images. of all type. in all directories, now removed.
Shame about all the work I put in importing, tagging, editing images taken over the last 61 years …
All recent versions of DT backup your database so you should be fine…not sure how that would happen…it should compare your database to where your files are and remove entries for any non matches…if it took them all out you must have done some editing outside DT or something …I am not sure but you should have a backup in any case…
There’s a script to remove skulls. I think that’s the one Todd was referring to:
https://docs.darktable.org/usermanual/3.8/en/lighttable/digital-asset-management/thumbnails/#skulls
If you have the XMP files, those also contain the tags. In fact, I never bother with the script: I just remove (darktable 3.8 user manual - selected images) all images of the film roll, and reimport everything, restoring all data from the XMP sidecars.
Great points…actually I do the same… between the xmp files and or a copy of the backup databases @ajax you should be fine