Re: how to exclude custom shared precompiled headers folder from Time Machine backups?
Re: how to exclude custom shared precompiled headers folder from Time Machine backups?
- Subject: Re: how to exclude custom shared precompiled headers folder from Time Machine backups?
- From: Ken Thomases <email@hidden>
- Date: Mon, 29 Mar 2010 09:55:38 -0500
On Mar 29, 2010, at 9:20 AM, Jens Miltner wrote:
> is there a supported way of automatically adding them (e.g. using a shell script) to the list of excluded or skipped folders? I assume I can change the Time Machine prefs file, but I'd just like to check whether there is a supported mechanism of adding exclude/skip folders?
First, changing the Time Machine preferences file is a really bad idea.
Second, is there a reason you can't add the folder to the Time Machine exclusions manually?
Lastly, if you want to automate this, you can use the CSBackupSetItemExcluded() function. To do this from a shell script, you'd have to write a command-line tool around that API.
Regards,
Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden