diff --git a/bin/backup-notes b/bin/backup-notes new file mode 100755 index 0000000..3e1c023 --- /dev/null +++ b/bin/backup-notes @@ -0,0 +1,8 @@ +#!/bin/bash + +if [[ -d /mnt/timmej/home/Notizen ]]; then + rsync -av /home/jpt/Notizen /mnt/timmej/home/Notizen +else + echo "Mount /mnt/timmej/home/Notizen please!" + exit 1; +fi