Created
August 23, 2018 01:08
-
-
Save Lucaber/7340f61e92318b6623616305e9af5dc0 to your computer and use it in GitHub Desktop.
Linux reset file date "last changed" to "creation date"
This file contains hidden or 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
| find . | while read movie;do touch -d $(date -r $(stat -f %B "$movie") +%Y-%m-%d%T) "$movie"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment