Re: Programatically disable TimeMachine & Spotlight agents
Re: Programatically disable TimeMachine & Spotlight agents
- Subject: Re: Programatically disable TimeMachine & Spotlight agents
- From: "Philip Q" <email@hidden>
- Date: Wed, 14 Nov 2007 21:30:06 +1300
On 14/11/2007, Pleasant Software for the People
<email@hidden> wrote:
> Hello,
>
> I can't find anything on this in the documentation or in the list
> archives:
>
> Is it possible to temporarily disable TimeMachine and Spotlight?
>
You can stop Spotlight from continually indexing your files while
recording, by putting them somewhere (or naming them) that Spotlight
will ignore:
<http://developer.apple.com/qa/qa2006/qa1497.html>
(See the 'Spotlight' section)
As mentioned, CSBackupSetItemExcluded, looks like it will work if you
flag your files with it.
I don't think you'll need to disable it for all mounted volumes, as
I'd think your problem would be Spotlight/Time Machine continually
trying to index/backup your files.
If you do need to disable it entirely, you should probably instruct
the user to do it, rather than flick it on/off behind their back.
-Phil
_______________________________________________
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