示例#1
0
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))
示例#2
0
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))
示例#3
0
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))
示例#4
0
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))