Created
March 31, 2018 23:37
-
-
Save cengiz-io/c3017e101697dbc2a71d5c14e892c88b to your computer and use it in GitHub Desktop.
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/sh | |
BACKUP_SOURCE=/ | |
BACKUP_TARGET=/run/media/cengiz/BACKUP/arch_gnome_yedek | |
sudo rsync -aAXvH --delete --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/home/*/.thumbnails/*","/home/*/.cache/mozilla/*","/home/*/.cache/chromium/*","/home/*/.local/share/Trash/*","/home/*/.ccache/*"} $BACKUP_SOURCE $BACKUP_TARGET |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment