Newsgroup: it.comp.macintosh
Titolo: script per rinominare files foto da info exif

per esempio con questa successione
aaaa-mm-gg hh-mm [contatore]
è possibile? dove lo posso trovare?
grazie


Jhead potrebbe fare al caso tuo:
http://www.sentex.net/~mwandel/jhead/
Dai un'occhiata alle pagine man per i dettagli.
-- 
ciao       | canassimo(at)
Massimo C. | gmail(dot)com

 Dai un'occhiata alle pagine man per i dettagli.
Confermo. Ottimo, anche se richiede un po' di sppippolamenti con il
terminale
-- 
Outside of a dog a book is a man's best friend.
Inside of a dog is too dark to read  (Groucho Marx)

 terminale
Lo fa jhead già di suo, non serve neanche lo script:
!!man jhead | col -b -->
 -n[format_string]
              This option causes files to be  renamed  using  the
              date  information  from the Exif header "DateTimeO-
              riginal" field.  If the file is not an  Exif  file,
              or  the  DateTimeOriginal  does not contain a valid
              value, the file  date  is  used.   Renaming  is  by
              default  restricted  to  files  whose names consist
              largely  of  digits.   This  effectively  restricts
              renaming  to files that have not already been manu-
              ally renamed, as the default sequential names  from
              digital cameras consist largely of digits.  Use the
              -nf option to force renaming of all files.  
              If the format_string is omitted, the file  will  be
              renamed  to  MMDD-HHMMSS.   Note  that  this scheme
jhead 2.6                 29 April 2006                         4
JHEAD(1)                                                 JHEAD(1)
              doesn't include the year (I never have photos  from
              different years together anyway).
              If  a  format_string is provided, it will be passed
              to the strftime function as the format string.   In
              addition,  if the format string contains '%f', this
              will substitute  the  original  name  of  the  file
              (minus extension).  '%i' will substitute a sequence
              number.  Leading zeros can be specified  like  with
              printf  -  i.e.  '%04i' pads the number to 4 digits
              using leading zeros.
              If the target name already exists, the name will be
              appended  with  "a", "b", "c", etc, unless the name
              ends with a  letter,  in  which  case  it  will  be
              appended with "0", "1", "2", etc.
              This  feature is especially useful if more than one
              digital camera was used  to  take  pictures  of  an
              event.   By  renaming them to a scheme according to
              date, they will automatically appear  in  order  of
              taking   in   most  directory  listings  and  image
              browsers.  Alternatively,  if  your  image  browser
              supports  listing by file time, you can use the -ft
              option to set the file time to the time  the  photo
              was taken.
              Some of the more useful arguments for strftime are:
              %H Hour in 24-hour format (00 - 23)
              %j Day of year as decimal number (001 - 366)
              %m Month as decimal number (01 - 12)
              %M Minute as decimal number (00 - 59)
              %S Second as decimal number (00 - 59)
              %w Weekday as decimal number (0 - 6; Sunday is 0)
              %y Year without century, as decimal number (00 - 99)
              %Y Year with century, as decimal number
              Example:
              jhead  -n%Y%m%d-%H%M%S *.jpg This will rename files
-- 
And with that remarks folks, the case of the Crown vs yourself was proven.
k|b|s :: mailto `echo 6B62734062676C75672E69740A|xxd -r -p`

 Dai un'occhiata alle pagine man per i dettagli.
come si installa jhead in modo da ottenere anche le relative pagine di man?
Quello che ho trovato sul sito, alla voce "Pre-built OS-X executable" è 
solo l'eseguibile.

 solo l'eseguibile.
Scarichi il source tarball, lo scompatti, entri nella directory, esegui
un ./configure, make, sudo make install.
-- 
L'upgrade a Vista contribuisce al riscaldamento globale del pianeta.
Pensaci, quando prendi il cammello per andare al lavoro.
k|b|s > `echo 0000000:6b62734062676c75672e69740a|xxd -r`