my-scripts/backup

3 lines
148 B
Plaintext
Raw Permalink Normal View History

2021-08-31 06:25:02 +00:00
#!/bin/bash
rsync -aAXv / --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/usr/local/share/music/*"} $1