I'm a huge fan of smart folders and I started using raw queries only recently: they provide me with more options than the standard Spotlight in Finder.
I'm looking for a way to display files in a smart folder that have been used or modified yesterday. I have a raw query that display files that were used or modified yesterday or today
kMDItemLastUsedDate > $time.yesterday ||kMDItemContentModificationDate > $time.yesterday
Common sense would probably dictate that a raw query for files used or modified only yesterday would look like this
kMDItemLastUsedDate == $time.yesterday ||kMDItemContentModificationDate == $time.yesterday
But no such luck. So now I'm kinda stuck. I can't help but thinking this should be real easy, so any suggestions on kMD commands that display files used or modified yesterday are very welcome
I'm looking for a way to display files in a smart folder that have been used or modified yesterday. I have a raw query that display files that were used or modified yesterday or today
kMDItemLastUsedDate > $time.yesterday ||kMDItemContentModificationDate > $time.yesterday
Common sense would probably dictate that a raw query for files used or modified only yesterday would look like this
kMDItemLastUsedDate == $time.yesterday ||kMDItemContentModificationDate == $time.yesterday
But no such luck. So now I'm kinda stuck. I can't help but thinking this should be real easy, so any suggestions on kMD commands that display files used or modified yesterday are very welcome