Displaying 1 result from an estimated 1 matches for "drytest".
Did you mean:
drmtest
2011 Jul 13
0
How to call rsync client so that is detects that server has gone away?
...ay beyond my knowledge, but maybe python can do
the job for you too? I use this python script (from the python
cookbook) and crontab to keep my sheep in the dry:
#!/usr/bin/env python
#wraps up rsync to synchronize two directories
# ! -- should contain check of disk space using rsync -n option for drytest !
from subprocess import call
import sys
import time
"""this motivated rsync tries to synchronise forever"""
source = "/media/rsync_gb01/movies/" #note the trailing slash!
target = "bjorn at srv01:/home/bjorn/movies"
rsync = "rsync"
argu...