In the following situations, both the source machine and the
destination machine are running 7.7.

Using openrsync, when my source is local and the destination is
remote, the --exclude argument works exactly as I would expect.
With the following construction, nothing that has changed in
"subdirectory" on the source gets updated on the destination,
which is what I expect.

openrsync -av --rsync-path=openrsync --exclude subdirectory/ 
/path/to/source/ remote:/path/to/destination/

By contrast, when I use a similar construction, but where the
source is remote and the destination is local, changes in the
remote subdirectory ARE updated on the local destination. The
--exclude argument does not seem to be excluding.

openrsync -av --rsync-path=openrsync --exclude subdirectory/ 
remote:/path/to/source/ /path/to/destination/

I am trying to figure out what I am missing here, and how I can
exclude subdirectories when using openrsync to update from a
remote source to a local destination.

Reply via email to