diff --git a/backup b/backup index 4cb5e82..b9d3013 100755 --- a/backup +++ b/backup @@ -1,2 +1,2 @@ #!/bin/bash -rsync -aAXv / --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/usr/local/share/music/*"} $1 +rsync -aAXv --delete "$1" --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/media/music/*"} "$2"