Timestamp for mac sierra3/10/2023 How to change the “date modified” attribute recursively? find. Make sure to change 200801120000 to the date you want and to replace /Volumes/Mac\ HD/Pictures/somefile.jpg with the proper path to the file you wish to alter the date for.Ĥ. Here’s an example of what should be typed into the Terminal at this point: touch -m -t 200801120000 /Volumes/Mac\ HD/Pictures/somefile.jpgĢ00801120000 in the example above represent “Janu12:00 AM” or my 21st birthday. Open a Finder window and locate the file you wish to modify and drag and drop it into the Terminal window. Type this into Terminal (without hitting enter/return) replacing YYYYMMDDhhmm with the desired date information: touch -m -t YYYYMMDDhhmmģ. Open up the Terminal application ( /Applications/Utilities/Terminal.app) or if you prefer use iTerm.Ģ. Unfortunately, new versions of Mac OS have different version of `touch` command, try these steps:ġ. Go to answer for Mac OS El Capitan and older How to change the “date modified” attribute of a file in Mac OS High Sierra and newer? Go to answer for Mac OS High Sierra and newer mm - The minute of the hour, from 0 to 59.hh - The hour of the day, from 0 to 23.DD - The day of the month, from 1 to 31.MM - The month of the year, from 1 to 12.YYYY - The year (the first two digits/century can be omitted).
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |