Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Avoid rsync errors during backup due to Spotlight' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Avoid rsync errors during backup due to Spotlight
Authored by: Gigacorpse on Nov 09, '05 07:50:33AM

An easier way to accomplish this would be to set a target directory with a .noindex extension. For example, instead of:

/usr/bin/rsync -avE --delete $EXCLUDES /Users /Volumes/Backup

you could do:

mkdir /Volumes/Backup/backup.noindex
/usr/bin/rsync -avE --delete $EXCLUDES /Users /Volumes/Backup/backup.noindex

This is also handy when you need a temporary directory to compile an application but you don't want Spotlight to freak out with the temp files a compiler can create.



[ Reply to This | # ]