Change File Modification Date on Mac

Among the videos shot with avi, I converted them to mp4 to put on the iPad.
After converting the file, of course, the modification date of the file also changed. When you put a file in iPhoto, events are automatically divided by date, but if the date changes, there is a problem that it becomes an event on a different date.

So, I looked for a way to change the file modification date on Mac, and there was a paid program like Finder, and there was a simple way to modify it in the terminal.

in unix commands touch way to use

The following is how to change the modification date of a file in a Mac terminal.

1. Open a terminal (iTerminal) in the application

2. touch -mt YYYYMMDDhhmm <file name>

For example, if it is 2010:11 PM on November 6, 1,
Write touch -mt 201011061300, drag and drop the file to be edited next to it from Finder, and then hit enter.


1 If you like the article, please click the heart~ It will be a strength to bloggers (SNS/login/advertising is not related)

Articles you might like

smart stock calculator

Various stock calculators for successful stock investment: profit/loss ratio, profit/loss unit price, purchase quantity, water/burning unit price, unit price required funds, selling price, percentage, etc.

Add a Comment

Email addresses are not disclosed. Required items *is indicated by

This posting is part of Coupang Partners' activities, and a certain amount of commission is provided accordingly.