ZTree.com  | ZEN  | About...  

 Index   Back

No, but jhead can set the file date to the EXIF date   [Help!]

By: John Baum       
Date: Apr 10,2019 at 00:20
In Response to: No, but jhead can set the file date to the EXIF date (Laurent Duchastel)

Thank you, Laurent,

The macro concept is one I have not explored. I found Slobodan Vujnovic's web page:

hrefhttp://vujnovic.free.fr/ztw/ztw_macros.html

and he makes it sound tempting. Countering the temptation are all the other things I want to do (or need to do or my good wife wants me to do) and the realization that the applicable time I have remaining at age 79 is an increasingly limiting factor.

In the 1990's I became reasonably skilled at writing Word Basic macros. I found it was fun. Then the developers scrapped the concept and replaced it with the more powerful (and also more arcane and opaque) Visual Basic approach and this organic chemist threw up his hands went back to doing tasks 'by hand.'

My day is fast ending and as usual I have much left to finish.

thanks,
baumgrenze



> > Thank you, Martijn
> >
> > I will give this approach a try.
> >
> > John
>
>
> Here a couple of F9 scripts I use frequently:
> Parameters are obvious once you explore jhead functions.
>
> ::- Jhead set date to exif | Date+Name
> CD /D "#ZTTools\Jhead\"
> jhead.exe -ft -autorot -n%%%Y-%%%m-%%%%d-%%%H-%%%M-%%%S_%%%f
> "%2:%3\*.JPG"
> pause
>
>
> ::- Jhead set date to exif | Date+Name (Alt YYYYMMDD_HHMMSS)
> CD /D "#ZTTools\Jhead\"
> jhead.exe -ft -autorot -n%%%Y%%%m%%%%d_%%%H%%%M%%%S_%%%f
> "%2:%3\*.JPG"
> pause
>
>
> ::- Jhead set date to exif | Name
> CD /D "#ZTTools\Jhead\"
> jhead.exe -ft -autorot "%2:%3\*.JPG"
> pause
>
> ::- Jhead set date to exif | Date
> CD /D "#ZTTools\Jhead\"
> jhead.exe -ft -autorot -n%%%Y-%%%m-%%%%d-%%%H-%%%M-%%%S
> "%2:%3\*.JPG"
> pause
>
> ::- Jhead change exif +1hour
> CD /D "#ZTTools\Jhead\"
> jhead.exe -ta+1:00 "%2:%3\*.JPG"
> pause

138 views      
 

Messages in this Thread

 
94,417 Postings in 11,916 Threads, 348 registered users, 5 users online (1 registered, 4 guests)
Index | Admin contact |   Forum Time: Aug 22, 2019 - 9:12 pm EDT  |  Hits:28,555,899  (4,698 Today )
RSS Feed