Proper --exclude= syntax? <-- thanks!
dkressin at yahoo.com
Thu Jan 9 15:48:08 EST 2003
--- jw schultz <jw at pegasys.ws> wrote:
> On Wed, Jan 08, 2003 at 02:15:13PM -0800, Dan Kressin wrote:
> > I'm currently syncing the home directories on two boxes with the syntax:
> > dest-host# rsync -av -e "ssh" --delete --progress source-host:/home/
> > That's working well. Now I want to exclude /home/httpd/* from the
> > (I don't want web changes on one box to affect the other box.) Which of
> > following is the best/correct one to use?
> None of the above.
> Patterns are relative to the src/dest paths.
Thanks to both JW Schultz and Max B. who suggested the same solution and
helpfully pointed out why my guesses were wrong.
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
More information about the rsync