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

Ben J.

macrumors 65816
Original poster
Aug 29, 2019
1,067
627
Oslo
I always found mac smart folders a little cumbersome and never used them much. But now I found one thing that could be very useful to me: to have a smart folder show me the latest Pro Tools documents sorted by last modified date. I set it to search my projects folder and use +/- on search words to include and exclude things. It works very nicely, but sometimes I save PT files to my desktop, and I can't find a way to have the smart folder include that or that drive. Any tips, or maybe a link to a smart folder tutorial?
 

Ben J.

macrumors 65816
Original poster
Aug 29, 2019
1,067
627
Oslo

go past the basic material at the beginning (scroll down) and there is a more exhaustive tutorial.
Thanks again. The article confirms what I was afraid of; there is no way to select more than one drive or folder for the smart folder search. Pretty lame, if you ask me.
 

NoBoMac

Moderator
Staff member
Jul 1, 2014
6,289
4,984
Something to look into and try: does Desktop show in your Finder window? If not, from a Terminal:
Code:
chflags nohidden Desktop
mdutil -E /

I might be way off here, but I think that the folders hidden via the flags are omitted from Spotlight search. I know for sure hidden dot files are excluded (eg. ".somefilename").
 

Ben J.

macrumors 65816
Original poster
Aug 29, 2019
1,067
627
Oslo
Something to look into and try: does Desktop show in your Finder window? If not, from a Terminal:
Code:
chflags nohidden Desktop
mdutil -E /

I might be way off here, but I think that the folders hidden via the flags are omitted from Spotlight search. I know for sure hidden dot files are excluded (eg. ".somefilename").
You're certainly way off. I know how to access hidden folder and such.
If I wasn't clear up to now; my issue is with selecting locations for the search in smart folders.

Anyway, I think it's just the way it is; you can't select more than one location for the smart folder search.
 
Last edited by a moderator:

adrianlondon

macrumors 603
Nov 28, 2013
5,536
8,360
Switzerland
1. Create your smart folder exactly as you want, but with one directory

2. Edit the smart folder file (xxx.savedSearch) using a decent text editor and add all other paths you want to the array under "FXScopeArrayOfPaths"

3. Force-restart Finder. (I use killall Finder in Terminal as that's where I run "vi" from to edit the search files.)
 
  • Like
Reactions: Ben J. and 6916494

Ben J.

macrumors 65816
Original poster
Aug 29, 2019
1,067
627
Oslo
1. Create your smart folder exactly as you want, but with one directory

2. Edit the smart folder file (xxx.savedSearch) using a decent text editor and add all other paths you want to the array under "FXScopeArrayOfPaths"

3. Force-restart Finder. (I use killall Finder in Terminal as that's where I run "vi" from to edit the search files.)
Thank you so very much!
I followed your excellent directions and it worked perfectly.
This is exactly how you taylor your smart folders.
It really should be built-in.
Thanx again, Macrumors rule.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.