Created
May 24, 2016 09:03
-
-
Save lackofdream/392001069e61be6a6fc3a48ed3605543 to your computer and use it in GitHub Desktop.
a backup script
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 | |
rsync -aAXv --delete-before --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/var/*","*/Downloads/*","/srv/deluge/*"} / $TARGET |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment