1 (edited by Stefan 2007-04-22 01:22:00)

Topic: Rename an image with the date and time it has been taken

Rename an image with the date and time it has been taken

From:
   IMG_3975.JPG taken the 09/09/2003 at 21h47m58s
   IMG_3981.JPG taken the 09/09/2003 at 21h49m35s

   To:
   Planet_Mars_20030909_214758.jpg
   Planet_Mars_20030909_214935.jpg

   Use the expression:
   Planet_Mars_%Xdo.jpg

   How does it work ?
   Most part of digital cameras adds in the image many data
   concerning the shot. Among those, several dates with one at which
   the image was taken.
   Siren extracts this information and makes it directly usable in
   an expression through the variable: %Xdo (eXif DatetimeOriginal)
   By default it follows the format: YYYYMMDD_HHMMSS

   So, following the expression for "IMG_3975.JPG":
   Planet_Mars_         gives "Planet_Mars_"
   Planet_Mars_%Xdo     gives "Planet_Mars_20030909_214758"
   Planet_Mars_%Xdo.jpg gives "Planet_Mars_20030909_214758.jpg"

   And if images were taken in the same second ?
   With the above expression some "future names" will be identical,
   therefore an error will appear during the renaming.
   The variables "%nc" and "%ncs" give a unique value avoiding
   name "collisions".
   Use an expression like: Planet_Mars_%Xdo%ncs.jpg



   --
   For more details just download Siren at http://www.scarabee-software.net/en/siren.html and consult the help.
   No installation needed, unzip and run. Siren stores it settings into an ini file.   <Here> you can see some screen shots of Siren.
   Enjoy Siren, the powerfully portable freeware renamer.