Apple introduced Smart Folders years ago , but they ’re often have short shrift compared to other macOS features . While lately react to readers ’ trouble for Mac 911 and researching other floor , I discover I ’d mostly given up on a powerful option for saving recur search .

This is partially due to Spotlight . For many age , starting with its introduction , Spotlight indexing could be scratchy or ram and re - run , and search were n’t always as comprehensive and precise as one could hope . That ’s settled down . Even on searches that equalise hundreds of thousands of results on my 2014 Mac mini ( across both a upstanding - state drive and external punishing drives ) , Spotlight performance is passably bouncy .

In this tutorial , I ’ll guide on you through craft Spotlight searches with elaborated criteria that you ’ll want to save as Smart Folders partly because of the trouble of re - create them . Smart Folders take up fundamentally no space , and you could duplicate them and modify criterion later on . By keep more Smart Folders , you ’ll save meter and frustration as you develop search you want to use either frequently or from clip to fourth dimension .

Article image

( I wrote this tutorial with macOS Sierra , and many details work over several previous departure . However , Apple has manifestly made minor pinch that could bring forth different search outcome in previous OS releases than in Sierra . )

Set up Smart Folders

A smart folder is just a public eye hunting with criteria shown as a set of items with the option to keep launch the inquiry . If you start typing a search into the Spotlight playing field in any Finder window , you see event in that windowpane . Click the + ( plus ) sign that appear at the upper right , and it ’s turned into a saucy leaflet with a Save clitoris to retain your criteria . ( This does n’t occur if you ’re in a Finder windowpane that ’s already picture a impudent folder , like All My Files , a nonremittal in macOS . )

you’re able to also chooseFile > New Smart Folderor wardrobe Command - Option - spacebar , and macOS brings up an empty Smart Folder in a Finder windowpane .

Using either the File carte or keyboard shortcut also lets you scope the search : in the top bar after “ hunting : ” you ’ll see This Mac and “ Name of thing here . ” That name in the quotes is whatever drive or folder you had foremost in a Finder window when invoking the smart folder window . Clicking the name in quotes restricts the search to that parkway or pamphlet hierarchy regardless of other touchstone , and is saved along with the smart folder .

smart folder other criteria

With This Mac , you ’re tapping the full Spotlight power , which covers every affiliated volume unless you ’ve secern macOS otherwise . you may exclude intensity as well as specific folders . Folder expulsion includespackages , which are a special kind of folder — such as that used for a Photos Library — that appears as a exclusive file and can be move like one , but in reality arrest a folder pecking order . ( expend the limelight organization preference pane ’s Privacy yellow journalism to either prize volume , leaflet , and packages after clicking the + sign or drag item in . Those items contents are murder from the search index . )

I ’ll get into criteria in the next division , but you’re able to salvage a Smart Folder at any time by clicking theSavebutton . One saved , you could modify the hunt by choosingaction ( gear ) > Show Search Criteria . This is true whether you just saved a lookup or you spread out a saved Smart Folder .

There is no undo with Smart Folders and despite a Save clit , all change are made immediately even to saved search . Whenever you delete a standard or make another change , there ’s no elbow room to back it out . I suggest making a written matter in the Saved Searches leaflet of a Smart Folder you want to change to avoid losing complicated constructions .

smart folder recent lens match

The Save dialog let you check a box to sum the search into the Finder sidebar , and it extend to store it by default in the Saved Searches pamphlet . The Finder offers no breadcrumb to get to that brochure , but you could search via Spotlight for Saved Searches and dawn on the pamphlet event , or chooseGo > Go To Folderand enter~/Library / Saved Searchesto spread out it in the Finder .

you could also preserve or move Smart Folders into any brochure , let you associate them with a specific task or project .

Creating criteria

you may perform freeform search in a Spotlight field , using Boolean operators that let you combine conditions ( like AND , OR , and NOT ) , but this tutorial focus on make folder that you may save and reuse , so we ’ll launch the thug on how to combine and exclude items in series by setting criteria .

When you first open a Smart Folder , only the line beginning with Search seem with a Save and + at the far right . Click + and you may add a measure . By default , macOS lend Name , which jibe file and folder name , as well as names embedded in certain fields ( like email topic lines ) .

The popup field that has Name in it also contains several other detail : Last Opened Date , Contents , Created Date , Last Modified Date , File Size , and genial . Each of those has additional popup menus and field of honor that correspond to the form of filter you may apply .

smart folder tps reports

Other criterion lists Apple items and single installed by package from Apple and third parties .

There ’s also an Other menu : choose it and macOS display the Select a Search Attribute inclination , which admit both organisation items and spot criteria added by instal apps . If you use any of these frequently , you could delay the In Menu box for the tune on which it ’s described . you’re able to also uncheck detail you never use .

I ’ve found that some criteria make no sense being there . In my list , I see one relate to a password command prompt that ’s intelligibly mislay . In other cases , applying the criterion seems to have no upshot except to find no peer .

Many of the Other criteria have highly specialized uses . For object lesson , if you ’re trying to discover audio files with more than one channel , you may use the Audio Channels standard , which also only matches against Indian file macOS recognizes as hold audio content .

Many parameters have a filter pop music - up that lets you reduce the query ’s cathode-ray oscilloscope for text or for phone number . For text , you see Matches , Contains , begin With , Ends With , Is , and Is Not . The difference between Matches , Contains , and Is ( and the logically reverse Is Not ) is as follow :

The Matches and Contains filter are often very , very near . In fact , I had to perform a numeral of exclusive trial to figure out the difference of opinion , because Spotlight marks “ words ” very broadly . Thus , searching forfleishmanusing Matches finds data file with names that containGlenn Fleishmanbut alsoGlennFleishman(intercap F ) but notglennfleishman(no cap F ) . Matches sees the intercap as a parole boundary . If I require bothGlennFleishmanandglennfleishman , I have to use Contains .

You ’ll probably most frequently practice text edition filtering against Name and Contents . The Contents field hunting against the full text of any document that Spotlight either can index natively ( like text edition , HTML , and so forth ) , and any installed software that adds the details to Spotlight to allow textbook indexing . ( Not all indexable files can be previewed through Quick Look , which is a separate fabric . )

For numerical values , you opt among Equals , Is neat Than , Is Less Than , or Is Not , which are self - explanatory . You may also be able to pick out units , as with File Size , which offers KB , MB , and GB as bolt down - up options .

engagement - related fields offer a lot of relative values : Within Last X Time Units ( Days , Weeks , Months , Years ) ; Exactly , Before , and After ( day of the month ) ; Today , Yesterday , This Week , This Year , and This Month .

With standard in judgement , lease ’s put this all together .

Grouping criteria to drill into results

Here ’s the most outstanding matter to remember : all the normal criteria you set are colligate together as a serial all of which have to all be straight . So if you require files that have the parole “ Lens ” in them modified in the last year that are enceinte than 10 super C , you simply go under three criteria . These are Boolean ANDs : this AND that AND the other must be true to check .

criterion are link together as a serial of statements that must all be true .

you’re able to imagine all sort of combinations like this that couple aimless searches you may have done before — I know I can , because I ’ve been substitute them with Smart Folders . For deterrent example , I often create covert gaining control within macOS using its build up - in shortcut , and I sometimes rename and move them . So I created a complicated enquiry that filters for files that are PNG images ( Kind is icon PNG ) , created in the last seven sidereal day , and magnanimous than 30K. This sweeps in almost everything I need . ( Smaller PNGs are usually part of World Wide Web - based help in apps . )

What if you do n’t want toANDthings , but toORandNOTthem ? A simple alternative toggle help . nurse down theOptionkey while Spotlight criteria show and the + button next to each measure will change to an ellipsis ( … ) . If you click the … , the Finder adds an “ Any of the stick to are truthful ” aggroup below that line .

Those mathematical group default on to Any , but you’re able to also choose All or None . Any , All , and None gibe to Boolean operations for OR , AND , and NOT . The All option is included even though AND is the default for top - level touchstone , because you may nest groupings . you’re able to stick an All as a sub - query within an Any , which an example would help oneself substantially explain .

Let ’s say you need to find different sorts of files that contained the same text edition in dissimilar places . You want every file that says “ TPS Reports ” in its text edition , but also any image or PDF that has TPS Reports in its name , even if it ’s not in its message . I ’d go about it this way ( see the movie below to watch along and the figure for the net configuration ):

The schematic verbal description of that would be “ kind is PDF AND name containsTPS reportsOR contents of any file containTPS reputation . ”

A more complicated interrogation let you combine conditions that must be true with optional ones to acquire a single hunting .

you may also use None as a powerful elbow room to leave off items . For deterrent example , you might want to find all simulacrum except BMP file . you may set the chief standard to be “ Kind is Image ” and then a pigeonholing put to None that has “ Kind is BMP . ” ( If Kind appropriate Is Not that would be unproblematic , but you have to use this workaround . )

Changing the order in which results are displayed

On top of choosing what ’s matched , you might find that with many files , the path in which results are grouped into categories could aid . As with regular Finder windows , you have both Arrange By and Sort By . These let you groups results in ways that help a lot with searches .

you’re able to toggle between them by admit down the Option winder while selecting or after selecting theViewmenu or , in a Finder window , the activity ( gear ) bill of fare or theChange the Item Arrangements Bymenu ( if you ’ve added that to the default option toolbar ) . Another room to access these options is to start the View Options floating window : press out Command - J , chooseView > Show View Options , or Control - snap on a window and selectShow View Options . The windowpane has Arrange By and Sort By as individually mark pop - up menu .

Arrange By , when set to None , has no effect . However , when you take a sort precondition from it , the Finder creates relevant headings , like years or size . For example , you could Arrange By Size and Sort By Date Last Opened , and all the files are grouped in range of mountains , like 100 M to 1 GB , 1 MB to 10 megabyte , and so forth , and then assort by last open date within that .

I often like to Arrange By a date argument , like Date Added , as this make for downloaded Indian file that might have a disjoined creation and modification date that ’s preserved , but your interest is when it was add to your computing machine .

Bugs and omissions

Smart Folders have a few bug , despite the issue of press release they ’ve gone through . I ’ve discovered that creating criteria in the wrong order prevents you from adding more . For instance , this occurs with Any / All / None pigeonholing . If you add together a grouping and then delete regular criterion lines ( such as the Name crease that ’s total by nonremittal for all new Smart Folder searches ) , you could not create a newfangled criterion that ’s not draw close in the radical . You have to erase all measure and start over . ( Below is a short movie to establish . )

Oddly and irritatingly , there are no parameters that get you select folder paths or Unix file itinerary . This would be super useful for setting a scope or boot out folders , but it ’s a limitation that I ’ve found discussed extensively when the great unwashed want to pick and pick out what ’s included . It ’s beyond the current Spotlight design approaching as implemented both in the Finder and even through twirl the underlie XML file of a Smart Folder that has parameter spelled out in text .

you’re able to only scope to a folder by selecting it in the Finder , creating a new Smart Folder , and choose it in the top streak ; you’re able to only take out folders for all searches ( a globose exclusion ) using the Spotlight preference pane Privacy tabloid . This make Smart Folders substantially less useful , and it ’s a long - running surprising omission . Some third - company search tools , likeHoudahSpot , can practice Spotlight results while filtering out directories or paths you enter .

Even after several year of inclusion in OS X and macOS , Apple still has elbow room to maturate Smart Folders .

Avoiding repetition

Smart Folders let you leverage a computing machine into memory and recur long-winded labor for you , but you may modify them later as your needs alteration . There ’s no penalty or overhead to create many Smart Folders , and you ’ll see yourself creating them as adjunct to project and an alternative to a steady folder eyeshot .