[K12OSN] Massive Rsyncing

Sudev Barar sudev at mantraonline.com
Fri Apr 2 02:54:14 UTC 2004


On Fri, 2004-04-02 at 05:07, MrGoblin wrote:
> MrGoblin wrote:
> 
> Umm correcting my own post here :)
> 
> > Wouldn't adding '--exclude ".mozilla/"' to your rsync commandline be a 
> > much nicer way of handling this ?
> 
> --exclude ".mozilla/*/*/Cache/"
> 
> Will just exclude the Cache directories as you asked :)
> 
--exclude-from=file is a better option as not only you can exclude
mozilla but also lot of other patterns that are not really needed for
backup. Contents of my exclude file are:
*OpenOffice*
*Desktop*
*evolution*
.*
*.exe
*.dll
*.sys
*.ini
*.com
*.EXE
*.DLL
*.SYS
*.INI
*.COM
*windows*
*.CAB
*.cab

This way we are able to cut down on rsync even when doing it for servers
that are serving win clients.
HTH
-- 
Sudev Barar

Learning Linux






More information about the K12OSN mailing list