Subtract from File name or dates

Started by rewallac, February 24, 2019, 06:14:17 PM

Previous topic - Next topic

rewallac

I have some files that I realized are time-shifted. I need to subtract 6 hours, is this something that is possible to do automatically through EXIF tool? I have another tool that I can use to bulk re-name all the files once the times are changed, but unfortunately I can't find a way to bulk re-name the files first and then extract the new time via EXIF tool.

Thanks!

StarGeek

Run exiftool -a -G1 -s FileOrDir to figure out exactly which tags you need to shift.  For single tags, you can use -TAG-=6 to subtract 6 hours or if you have multiple tags, you can combine the -TagsFromFile option and the GlobalTimeShift option -globalTimeShift -6 -TagsFromFile @ -TAG1 -TAG2
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).