mkdir /testsrc mkdir /testdst cd /testsrc for i in {1..2000}; do dd if=/dev/urandom of=$i bs=700k count=1 >/dev/null; done cd /testdst for i in {1..2000}; do dd if=/dev/urandom of=$i bs=700k count=1 >/dev/null; done cd RSYNC_PROXY=localhost:80 rsync -rcP rsync://localhost:873/testsrc/ /testdst/