I want to rsync content from a remote host to my laptop through ssh.
There are files I want to exclude, and in the remote host, there is a file called ".rsyncexclude" that specifies what I want to exclude.
So I run the following command:
rsync -av --progress --delete --email@example.com:remote/path/to/folder/to/sync/.rsyncignore' --delete-excluded firstname.lastname@example.org:remote/path/to/folder/to/sync/ local/path/to/folder/to/sync/
But I get the following error:
rsync: failed to open exclude file email@example.com:remote/path/to/folder/to/sync/.rsyncignore: No such file or directory (2)
Is there anything I'm doing wrong?