I’ve just rebuilt my iMac and the mod dates of all my reinstated folders have changed to the date they were dragged back to the new SSD. I blamed Dropbox for three days, but it happens with local files too.
It’s folders only. Others have had this issue under 10.14.x it appears.
I’ve been trying to find an AppleScript to “get the date of the last-modified item in a folder then set the enclosing folder's modification date to match it".
I’m thinking, instead, of doing something in KM. I use it daily but can script about as well as I can fly.
I’ve discovered KM’s Get File Attribute and Set File Attribute but I don’t know how to tie them together.
I want to do this in the finder:
• open a folder (by clicking the wee triangle in list view, really.
• select a file (or nested folder) manually
• invoke a KM macro that:
1> gets the chosen file/folder mod date
2> goes up one level of heirarchy (if only by recording mouse clicks)
3> pastes the mod date into the enclosing folder
• repeat manually (i have maybe 300 folders to do; manual's fine… maybe an hour's work I reckon…)
Can anyone give me a clue about joining one and three please? Or if I’m better off doing it another way tell me to get stuffed.
Appreciate your help.