Add new script to backup essentials to work homedir
This commit is contained in:
parent
72756a6515
commit
396d50ee1b
|
@ -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
|
Loading…
Reference in New Issue