ExifTool Forum

ExifTool => Newbies => Topic started by: ffrree on May 23, 2020, 06:33:53 AM

Title: Keeping the original time-date stamp of video files
Post by: ffrree on May 23, 2020, 06:33:53 AM
I use the command line syntax

exiftool -rotation=90 file.mp4

to rotate a file.

Is there a way I can keep the original time date stamps ( eg. creation date, modified date ) etc., these are important as I use them to sort the time sequence of my video files.
Title: Re: Keeping the original time-date stamp of video files
Post by: StarGeek on May 23, 2020, 11:19:37 AM
Add the -P (preserve) option (https://exiftool.org/exiftool_pod.html#P--preserve).
Title: Re: Keeping the original time-date stamp of video files
Post by: ffrree on May 23, 2020, 06:52:54 PM
Thanks StarGeek.  Works like a charm, just have to ensure I used -P not -p ( case-sensitive )....haha.   Forgotten all my Unix syntax sensibilities. haha.  Back to the good old UNIX days of 30 years ago.

cheers