Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

NeedsNoName

macrumors newbie
Original poster
Sep 19, 2007
5
0
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.