Possible to batch process? Change the Modification and Creation dates of a file - Sonoma
I have about 100 files that were created with the wrong dates. I found these instructions
People seem to have a lot of trouble in the past changing these dates, but I've successfully used the base level touch -t in Terminal:
To change the creation date of a file in terminal paste in the below: (that will make the date 2001, january 15, 11:50pm - change it to the date you want - format is YYYYMMDDhhmm)
touch -t 200101152350
make sure there is a space after the last digit (this is where most people fail, inclucing myself until I realized it was missing.)
then drag the file into the terminal window so it populates it with the file path, then press return and it should work. Text should look like this before you press return:
touch -t 200101152350 /Users/g/Desktop/IMG_4074.jpg
in this post:
Change the Modification and Creation date… - Apple Community
Given the large number of files I'd like to change, does anyone know of a way to batch process multiple files to change their dates?
Thanks,
Myles
M1 Mac Studio/15.3.2