Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.5: Search multiple locations in Leopard System 10.5
This is similar to a problem outlined in this previous hint, but for the time being, I've solved the problem with an ugly hack, so I'm submitting it as a new hint.

In 10.5, there's no way to do a smart search on multiple locations (and even searching one specific location is a pain). I've searched everywhere and found no real solutions, but I've discovered it does work if you manually edit a previously-saved search in a text editor. This is obviously no good for quick searches, but if you want to use a saved search as a smart folder, this method will work.

First make a search with the other criteria you want (date, filetype, etc), but for any location and save it. Then go to your user's Library » Saved Searches, and you will see the search you just created. I'm not sure what other text editors you can use, but I used Smultron and it worked great. I dragged the search to Smultron on the dock and it opened it as a text file. There are many keys where it lists the location of the search, so I did a find and replace to change them all.

For example, you might find:
  <array>
    <string>/Users/Username/Documents</string>
  </array>
Replace that with:
  <array>
    <string>/Users/Username/Documents</string>
    <string>/Users/Username/Pictures</string>
    <string>/Users/Username/Music</string>
  </array>
Now, just save the file and when you click on the saved search, it will search all the locations. This is obviously not the best way to do this, but it will work until Apple realizes we might still want to search based on folders.

[robg adds: This is another reason that HoudahSpot was last week's Pick of the Week -- it's very easy to specify which folders to include in or exclude from your search.]
    •    
  • Currently 2.50 / 5
  You rated: 5 / 5 (8 votes cast)
 
[9,677 views]  

10.5: Search multiple locations in Leopard | 3 comments | Create New Account
Click here to return to the '10.5: Search multiple locations in Leopard' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Search multiple locations in Leopard
Authored by: mark hunte on Apr 14, '08 11:22:04AM
hmm..

Look in a new saved search file , which just used the default search criteria,
there was more than one with the path of the folder to be searched.

I found that the only one that made any difference when changed was the one for FXScope:

<key>FXScope</key>
		<integer>1396925286</integer>
		<key>FXScopeArrayOfPaths</key>
		<array>
			<string>/Users/username/Desktop</string>
<string>/Users/username/Documents</string>
		</array> 

---
mh

[ Reply to This | # ]

10.5: Search multiple locations in Leopard
Authored by: llee on Apr 14, '08 09:22:05PM
You want a slightly easier (but still free) way to do this sort of thing? Have a look at Smart Folder Targeteer.
http://lonestar.utsa.edu/llee/applescript/smart_folder_targeteer.html


[ Reply to This | # ]
10.5: Search multiple locations in Leopard
Authored by: piyayo on Apr 15, '08 06:29:09AM

uncle steve thinks finding stuff in your hard drive is overrated



[ Reply to This | # ]