def test_rsync_2(): src = rsync.RsyncPath(r'tests\fixtures\dirtree') dest = rsync.RsyncPath(r'rsync://hostname/tests/fixtures/dirtree') print(rsync.rsync(src, dest, mirror=True, f=True))
def test_rsync_1(): src = rsync.RsyncPath(r'tests\fixtures\dirtree') dest = rsync.RsyncPath(r'rsync://hostname/tests/fixtures/dirtree') print(rsync.rsync(src, dest))