* Jean-Luc CECCOLI <jean-luc.cecc...@wanadoo.fr> [09-15-16 12:04]:
> 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 ?

Modify your rename algorithm and apply to the sidecar/xml files, then
remove the subj filmroll from dt and import the newly named files.  dt
will see your changes in the xml files.

-- 
(paka)Patrick Shanahan       Plainfield, Indiana, USA          @ptilopteri
http://en.opensuse.org    openSUSE Community Member    facebook/ptilopteri
http://wahoo.no-ip.org        Photo Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535                    @ http://linuxcounter.net
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to