Jan Stary <hans@stare.cz> wrote:
> On Oct 31 19:10:52, nathanael@dalliard.ch wrote:
> > $ 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_.
and in the local ./test folder:
$ ls test/
text1.txt text2.txt
it is excluded when done from local to local
it is excluded when done from local to remote
it is not excluded when done from remote to local
nathanael
No comments:
Post a Comment