exclude pattern
Max Bowsher
maxb at ukf.net
Thu Jan 9 18:19:01 EST 2003
-- wrote:
> Yes, I know that's a newbie question.
>
> I want to rsync a tree SERVER1:/src/repository to
> SERVER2:/otherlocation/repository
> with one rsync command.
>
> Under repository are the directories
> foo and
> foo/bar/foo
>
>
> Now I want to rsync foo/bar/foo but not foo.
> I want to use the --exclude-from switch (to be able to specify more
> exclude patterns).
>
> Could you please tell me, what the command and pattern has to look
> like?
+ /foo/bar/
- /foo/*
+ /foo/bar/foo/
- /foo/bar/*
Max.
More information about the rsync
mailing list