An rsync script with a simple locking method.