Created
June 30, 2019 22:13
-
-
Save adamrosloniec/a70efb7c7c6378a54cf9019df8c6133a to your computer and use it in GitHub Desktop.
MacOS - Change file - Created date and modification date
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// without seconds (YEAR, MONTH, DAY, HOUR, MIN): | |
touch -t 201904191556 image.jpg | |
// with seconds (YEAR, MONTH, DAY, HOUR, MIN.SECONDS): | |
touch -t 201904191556.12 image.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment