Add new script to backup essentials to work homedir
This commit is contained in:
parent
72756a6515
commit
396d50ee1b
8
bin/backup-notes
Executable file
8
bin/backup-notes
Executable file
@ -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…
x
Reference in New Issue
Block a user