Change a file’s date
touch sets a file’s modified date to any time you give it, written as year, month, day, hour, minute. If the new date is earlier than the file’s created date, the created date moves back with it.
How
Set it to 15 January 2020, 12:30:
touch -t 202001151230 report.pdf
Check both dates:
stat -f "modified %Sm created %SB" report.pdf
The created date only ever moves earlier this way, never later.
Or just ask Titan
Set the date on these files to the day the trip started.Do it with Titan
Titan is an AI that lives on your computer: tell it what you need and it does it while you watch — you press Return, nothing runs by itself. What is Titan?
Titan isn’t on this computer yet. Get Titan, then press the button again — the task will be waiting, typed in.