Sunday, October 31, 2021

Re: openrsync --exclude only works locally

On Oct 31 19:10:52, nathanael@dalliard.ch wrote:
> Jan Stary <hans@stare.cz> wrote:
> > > from local to remote this works, but not from remote to local
> >
> > So what is your exact command line and what is the pattern?
> >
> > Jan
>
> $ openrsync --rsync-path=openrsync -r --exclude text1.txt s1:test .

That syncs the remote s1:test to the local ./test

> $ ssh s1 ls test
> text1.txt
> text2.txt

Of course text1.txt is still at the _source_.

Jan

No comments:

Post a Comment