[Changing EXIF to Modify Date]

Started by newtothis, May 16, 2022, 05:55:37 PM

Previous topic - Next topic

newtothis

Hello all,

I'm sorry if this is such a basic question, but I am having a hard time... :-[

I want to get all pictures and videos in a folder, and change their EXIF (original) date and Create Date to the Modified Date. That is, they should all take the Modified Date. I searched for my problem and found the following code:
exiftool "-alldates<filemodifydate" -P DIR

but I do not know how to apply it for one file, let alone a batch... Can anyone help me out?

Thanks!

newtothis

I just figured out I should update DIR with the directory where my files are. lol
sorry

Phil Harvey

You should have seen this message when you ran that command:

You were meant to enter any valid directory name, not "DIR" literally.

(you weren't the first person to make this mistake)

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).