コード例 #1
0
ファイル: test_rsync.py プロジェクト: pombredanne/multipath
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
ファイル: test_rsync.py プロジェクト: pombredanne/multipath
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))