Created
December 3, 2018 01:21
-
-
Save devm33/8736a6b0f42ce647561a6b8670da2609 to your computer and use it in GitHub Desktop.
A Determined Rsync
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
host='remote' | |
path='/remote/path/to/dir' | |
while ! rsync --append-verify -Prz $host:$path . | |
do | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment