Hello,

I decided to rename all my photos + sidecars to delete one useless character.
The files are into subfolders under one single main folder.
>From within the main folder, this gives something like 
>./20160625/180523670.NEF, which will be convenient.

After some search on the web, I was able to do this :

for file in $(find -name "*.NEF*"); do NF=$(echo $file|cut -c1-19,21-) && mv 
$file $NF; done

which did the job, but... how could I do to modify le reference within the 
sidecar so as it matches the new name ?

Regards,

 

J.-Luc

 

____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to