Posted on 09-05-2019 05:59 AM
Hello,
I would like to know if you already had this type of issue please.
When I try to know the creation or modification date of any application on a 10.14.6 computer with the command line mdls, I always have the same date which is incorrect.
(sudo or not) mdls /Applications/(any.app) -name kMDItemDateAdded (or kMDItemContentModificationDate or kMDItemFSCreationDate or any)
Result : 1398-03-21 00:00:00 +0000
And since I have a policy that uninstall all Adobe applications that have not been used for more than 60 days, it becomes a little bit complicated to manage :)
Thank you for your help
Posted on 12-10-2019 03:15 PM
FWIW I am seeing this but only on a few computers, but the 1398 year is returning with mdls.
Posted on 12-16-2019 08:30 AM
@robertliebsch I can confirm that I have the same behavior on few computers.
Is there another more reliable command to retrieve a modification date ?
In any case, thank you for your response.