|
|
|
10.4: Create Spotlight indexes for networked volumes
Instead of polling each minutes, its now possible with Tigers new launchd to only run commands when a specific folder changes (like /Volumes). Here is a small example of how I enable indexing when I mount my "stuff" smb volume. Two files are involved, first a Launch Daemon config file:
This basically tells the daemon to run the script "/usr/local/bin/enableindexing.sh" when something in /Volumes is changed.
My "/usr/local/bin/enableindexing.sh" scripts look like this:
If your smb volume is not called stuff, you might want to change the script a bit :)
To tell the Launch Daemon about this new script, either reboot or do "sudo launchctl load /Library/LaunchDaemons/enableindexing.plist"
10.4: Create Spotlight indexes for networked volumes
Very interesting, but what happens if the volume is an automount that mounts on login? e.g. in a Workgroup Environment
Ruben --- The box said, Windows 95 or better, so I bought OS X.
10.4: Create Spotlight indexes for networked volumes
You are KING! That works great!
This tip is so good it should be its own hint.
10.4: Create Spotlight indexes for networked volumes
This works great, and I can verify that my SMB shared files are indexed with:
However neither the spotlight menubar interface or mdfind searches the indices that contain these SMB volumes. This is a great tip to keep my SMB volumes indexed, but if I can't search these indices then what's really the point? Any help appreciated.
Thanks, matteus
10.4: Create Spotlight indexes for networked volumes
To search on them you first cmd-f to bring up a find window and then click "servers"... that will search any mounted drives.
|
SearchFrom our Sponsor...What's New:Hints3 new Hints in the last 24 hoursComments last 2 days
Links last 2 weeksNo recent new linksWhat's New in the Forums?
The Editor's Corner...Here are some of my (robg) other projects...
Hints by TopicNews from Macworld
|
|
Copyright © 2010 Mac Publishing LLC (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Powered by Geeklog Created this page in 1.10 seconds |
|