Add bash strict options.

This commit is contained in:
2024-12-31 11:03:56 +01:00
parent 46376f9242
commit 81af13a1ae
9 changed files with 27 additions and 5 deletions

3
backup
View File

@ -1,2 +1,5 @@
#!/bin/bash
set -euo pipefail
rsync -aAXv --delete "$1" --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/media/music/*"} "$2"