If I try and use the command as follows it doesn't work. Syntax error apparently.
rsync -av --rsync-path=openrsync --delete --exclude "test.txt" tmp openbsd.server:tmp/
building file list ... done
openrsync: syntax error in received rules
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /AppleInternal/Library/BuildRoots/11aa8fb2-5f4b-11ee-bc7f-926038f30c31/Library/Caches/com.apple.xbs/Sources/rsync/rsync/io.c(453) [sender=2.6.9]
if I run it either without --delete, but --exclude arg present, it works. It also works if I include --delete, but not use --exclude. Just together it doesn't want to work.
rsync -av --rsync-path=openrsync --exclude "test.txt" tmp openbsd-server:tmp/
building file list ... done
sent 114 bytes received 16 bytes 86.67 bytes/sec
total size is 12 speedup is 0.09
rsync -av --rsync-path=openrsync --delete tmp openbsd-server:tmp/
building file list ... done
sent 118 bytes received 16 bytes 89.33 bytes/sec
total size is 12 speedup is 0.09
If I try and use the command as follows it doesn't work. Syntax error apparently.
rsync -av --rsync-path=openrsync --delete --exclude "test.txt" tmp openbsd.server:tmp/building file list ... done
openrsync: syntax error in received rules
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /AppleInternal/Library/BuildRoots/11aa8fb2-5f4b-11ee-bc7f-926038f30c31/Library/Caches/com.apple.xbs/Sources/rsync/rsync/io.c(453) [sender=2.6.9]
if I run it either without --delete, but --exclude arg present, it works. It also works if I include --delete, but not use --exclude. Just together it doesn't want to work.
rsync -av --rsync-path=openrsync --exclude "test.txt" tmp openbsd-server:tmp/building file list ... done
sent 114 bytes received 16 bytes 86.67 bytes/sec
total size is 12 speedup is 0.09
rsync -av --rsync-path=openrsync --delete tmp openbsd-server:tmp/building file list ... done
sent 118 bytes received 16 bytes 89.33 bytes/sec
total size is 12 speedup is 0.09