dotfiles/bin/backup-notes

9 lines
174 B
Plaintext
Raw Permalink Normal View History

#!/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