Last active
August 29, 2015 14:02
-
-
Save jepio/fedc84c42136f0936c2d to your computer and use it in GitHub Desktop.
Use rsync to archive your home folder.
This file contains 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
#!/usr/bin/env bash | |
rsync -av --delete /home/user user@host:/home/user/backup/ | |
# copy over ssh, with partial (interruption) support, progressbar | |
rsync -avPh --rsh='ssh' src dest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note to self: make a habit of doing this. OFTEN!