I am looking for a way right now, ideally with KM, that shows me in a specific path (e.g. */user/clients/) all folders (including subfolders) that I have not opened within the last 30 days.
Is there a way that KM can do that? Hazel is able to do that in a way, but I would like to have an output like a text file.
I'm guessing that when @michael_e says he wants to find folders that haven't been "opened" in the past 30 days, he means "opened in the Finder." If that's the case, then checking the last-modified date of a folder won't do what he wants, as opening a folder in the Finder doesn't change its last-modified date.
Spotlight searches can figure out when a folder was opened in the Finder by using the kMDItemLastUsedDate attribute. So a macro like this should work:
The -onlyin part limits the search to just the subfolders of the location defined in the first action. The rest is a Boolean expression that looks for folders