Checking whether Spotlight indexing is enabled for a volume
Checking whether Spotlight indexing is enabled for a volume
- Subject: Checking whether Spotlight indexing is enabled for a volume
- From: Rob Keniger <email@hidden>
- Date: Wed, 13 Aug 2008 19:53:32 +1000
Hi,
Is there any way to see if a volume has Spotlight indexing enabled
short of calling mdutil via NSTask and parsing the results? I can't
find anything in the docs that would return this information. What API
is mdutil calling to get this info?
I would have thought this was a very common request, it doesn't make
sense to go to the trouble of creating an NSMetadataQuery if it is
always going to return an empty result because indexing is disabled.
--
Rob Keniger
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden