ZTree.com  | ZEN  | About...  

 Index   Back

[Bug] Sorting jpeg files by creation date - Complementary tips   [Bug]

By: John Clark       
Date: Jul 04,2020 at 14:40
In Response to: [Bug] Sorting jpeg files by creation date - Complementary tips (Laurent Duchastel)

> Not directly related to your issue but I got many pictures which
> filedate weren't the one taken so I developped a series of F9 script
> using external utility jhead. Might be usefulĀ ?
>
> Below are 6 F9's scripts. You can customize to your taste.
>
>
> ::- Jhead set date to exif | Date+Name
> :: Free utility at https://www.sentex.ca/~mwandel/jhead/
>
> 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 set date to exif | Date
> CD /D "#ZTTools\Jhead\"
> jhead.exe -dsft -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
>
>

Thanks. Got it working.
I've had to move a few cobwebs out of the way, been a long while since I've written batch files.

864 views      
Thread locked
 

Messages in this Thread

 
96,640 Postings in 12,231 Threads, 350 registered users, 39 users online (0 registered, 39 guests)
Index | Admin contact |   Forum Time: Apr 19, 2024 - 8:36 pm UTC  |  Hits:62,926,577  (7,757 Today )
RSS Feed