sidecar file names
Frédéric Da Vitoria
davito9w at free.fr
Mon Jul 29 14:49:09 BST 2024
Le 28/07/2024 à 11:16, frederic chaume a écrit :
> it will require to remove the previous xmp (DJI_0638.xmp) which may
> not be easy under windows
>
> any such experience ?
I would use RoboCopy with the /MOV option. This will move the
undesirable .xmp files somewhere else (which is better than deleting
them IMO).
Will there be .DNG.xmp files when you delete/move the .xmp files ? If
so, I'd first move the .DNG.xmp files somewhere else, then move the .xmp
files to wherever I want to keep my "deleted" .xmp files then move back
the .DNG.xmp files. Of course, if you have other extensions you want to
keep (.MOV.xmp, .jpg.xmp...), you should
something like :
rem move .DNG.xmp files out of harm's way
RoboCopy source_folder temporary_folder *.DNG.xmp /S /MOV
rem do the same for other extensions if necessary)
rem "delete" .xmp files
RoboCopy source_folder backup_folder *.xmp /S /MOV
rem restore .DNG.xmp files
RoboCopy temporary_folder source_folder /S /MOV
These commands should probably be run after closing all software which
scan folders automatically (especially digiKam!)
--
Frédéric Da Vitoria
More information about the Digikam-users
mailing list