Last active
October 2, 2024 10:09
-
-
Save mao-odoo/1d2e47737988c319687b9f069922f0bb to your computer and use it in GitHub Desktop.
auto retry rsync until success
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
while ! rsync <put_all_rsync_parameter_here> ; do echo 'rsync failed, retrying'; sleep 3; done; | |
# use --info=progress2 to see the evolution in betwen attemptsd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment