backup: Allow selecting path to back up.
This commit is contained in:
parent
6e60755a15
commit
2ee3e3c322
2
backup
2
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"
|
||||
|
Loading…
Reference in New Issue
Block a user