ZTree.com  | ZEN  | About...  

 Index   Back

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

By: Laurent Duchastel     Montréal, Québec  
Date: Apr 09,2019 at 22:14
In Response to: No, but jhead can set the file date to the EXIF date (John Baum)

> 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


Laurent Duchastel

190 views      
 

Messages in this Thread

 
94,477 Postings in 11,922 Threads, 348 registered users, 11 users online (0 registered, 11 guests)
Index | Admin contact |   Forum Time: Oct 18, 2019 - 12:05 am EDT  |  Hits:28,770,181  (17 Today )
RSS Feed