* Frank J. <newslet...@fotodrachen.de> [09-15-17 13:27]:
> Hi,
> 
> for sorting the exported JPGs by year and month, I want to include the
> timestamp, when the picture was taken, into the filename on export.
> 
> The templates "$(EXIF_YEAR)_$(EXIF_MONTH)_$(EXIF_DAY)" from
> http://www.darktable.org/usermanual/ch02s03s12.html.php seemed to be
> right for this.
> This works fine for pictures (RAW, JPG) that were taken with digital
> cameras.

before importing, run:
  exiv2 mv \-k \-r %y%m%d_%H%M%S_:basename: \.\/*.{nef,jpg}

your filenames with then be something like:
  170914_191832_pt2_8177.nef

  YRMODA_TIME_filename-from-camera

and you will have the exported images with the parameters you wish.
    
-- 
(paka)Patrick Shanahan       Plainfield, Indiana, USA          @ptilopteri
http://en.opensuse.org    openSUSE Community Member    facebook/ptilopteri
Registered Linux User #207535                    @ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo               paka @ IRCnet freenode
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to