[digiKam-users] removing orphaned xmp files under Linux

Peter Mc Donough mcd-mail-lists at gmx.net
Thu Mar 8 20:28:14 GMT 2018

Am 08.03.2018 um 17:32 schrieb woenx:
> This is exactly the script I pasted above does. I recursively scans for .xmp
> files and checks if there's a matching cr2. If there isn't, the xmp is
> deleted.
> I think the "shopt" commands requires a bash console. Did you put the
> "#!/bin/bash" at the beginning of the script? What happens if you just run
> the "shopt -s nullglob extglob" in a console?

shopt -s nullglob extglob

as user and as root

No output??


More information about the Digikam-users mailing list