예제 #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))