Created attachment 127922 [details] Remove timestamp proposal SUMMARY I miss an option to clear a specific date field from a picture. You can do what using the metadata editor, one by one, but it is quite tedious if you need to do that to a whole folder. For instance, let's say you scan a picture album, and the scanner software places a date in the "XMP Creation date". However, you prefer to use the "Exif original date and time field" for dating your pictures. If the two fields have different values, it can led to conflicts (e.g. not using the indended date for sorting). There should be an easy way to delete the "XMP Creation date" field in a whole picture selection. Using the "Adjust time and date" tool, you can modify those dates (so they match), but not delete them. I currently use an exiv2 command to achieve this. For instance, to delete all XMP dates in a picture folder I run this: exiv2 -v -M"del Xmp.xmp.ModifyDate" -M"del Xmp.xmp.CreateDate" -M"del Xmp.xmp.MetadataDate" -M"del Xmp.exif.DateTimeOriginal" -M"del Xmp.photoshop.DateCreated" -M"del Xmp.tiff.DateTime" -M"del Xmp.video.DateTimeOriginal" -M"del Xmp.video.DateUTC" -M"del Xmp.video.ModificationDate" *.jpg But this is just a workaround. It would be great if it could be done from within the interface. Either in the "Adjust time and date" tool, or in the "Metadata editor". I have attached a mockup with a possible solution.
I think the "Adjust time and date" tool is not the right place to remove date metadata. All settings that can be made would be useless to remove metadata. We have a BQM tool to remove metadata, here we can easily add the option to remove date metadata. Maik
Created attachment 127945 [details] BQM Remove metadata Here, you mean? I guess there could be more specific options under each "remove exif, iptc, xmp"...
Git commit 2a25f8efaede437b0b8e77afc439be60ef659aa7 by Maik Qualmann. Committed on 01/05/2020 at 08:33. Pushed by mqualmann into branch 'master'. add date section to the BQM remove metadata plugin FIXED-IN: 7.0.0 M +2 -1 NEWS M +141 -40 core/dplugins/bqm/metadata/removemetadata/removemetadata.cpp M +10 -7 core/dplugins/bqm/metadata/removemetadata/removemetadata.h https://invent.kde.org/kde/digikam/commit/2a25f8efaede437b0b8e77afc439be60ef659aa7
Thank you, Maik! I will try it as soon as it's included in a next build, and report back if there are any issues.
I did some quick tests today, and it seems to work as intended. Once again, thanks!