[digiKam-users] removing orphaned xmp files under Linux

woenx marcpalaus at hotmail.com
Thu Mar 8 02:30:40 GMT 2018

I'm not a bash expert whatsoever, but I think this could work, I based it on
the script found here:
it from your picture directory. It will scan and delete all orphaned xmp
files. Right now it would only show which files would be deleted. Uncomment
the second to last line for actually deleting the orphaned files, or the
last one to rename to orphaned files with a ".old" extension (so you can
find and delete them later).I tried it with a dir with fake contents, and it
seems to work. But please, use it at your own risk.

Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20180307/22bcc2aa/attachment.html>

More information about the Digikam-users mailing list