If you absolutely can't rename the folder because other software
depends on it another technique is to go ahead and rename the
directory to end in ".noindex", but then create a symlink in the same
location pointing to the real location using the original name.
Most software is happy to use the symlink with the original name, but
Spotlight ignores symlinks and will note the "real" name ends in
*.noindex and will ignore that location.
lrwxr-xr-x 1 andy admin 24 Jan 9 2008 OriginalName ->
OriginalName.noindex
drwxr-xr-x 11 andy admin 374 Jul 11 07:03 Original.noindex
---- Andy
On Jul 11, 2008, at 9:40 AM, Greg wrote:
Is there any way to programmatically make Spotlight forget the
contents of a specific folder (not Volume) without it appear in the
user's Spotlight System Preferences ignore list?
I've searched around a bit and one method I've seen is to make the
folder end in ".noindex", but this is not a solution that works for
me since modifying the folder name is not acceptable for my purposes.
It mentions the _exclusions.plist and _rules.plist files inside
the .Spotlight-V100 directory, however modifying these requires root
privileges, and it seems like a really dirty way of doing it.
So, is there another way?
Much appreciated,
- Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Spotlight-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@apple.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Spotlight-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden