-
-
Save tomasdelvechio/09f22e01128a817d912a946cc703faec to your computer and use it in GitHub Desktop.
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
#!/bin/bash -x | |
DEBUG=4 | |
PUNTODEMONTAJE=/vos/sabras | |
rdiff-backup -v$DEBUG --print-statistics \ | |
--exclude ~/.local/share/Steam/ \ | |
--exclude ~/.cache \ | |
--exclude ~/netkit \ | |
--exclude ~/.steam \ | |
--exclude ~/snap \ | |
--exclude ~/.config/google-chrome \ | |
--exclude ~/Aplicaciones \ | |
--exclude ~/.wine \ | |
--exclude ~/.codeintel \ | |
--exclude ~/.dbus \ | |
--exclude ~/.gvfs \ | |
~ "$PUNTODEMONTAJE"/backup-$USER/ | |
echo rdiff-backup -v$DEBUG --print-statistics \ | |
--remove-older-than 4W \ | |
"$PUNTODEMONTAJE/backup-$USER/" | |
rdiff-backup -l "$PUNTODEMONTAJE/backup-$USER/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment