Fix music pull script

This commit is contained in:
Jan Philipp Timme 2019-12-23 10:18:54 +01:00
parent d8f6ce7c04
commit 05707573cb
3 changed files with 8 additions and 1 deletions

3
bin/fqdn Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
echo $1
dig +short -x $1 | tr '[:upper:]' '[:lower:]'

View File

@ -1,2 +1,2 @@
#!/bin/bash
rsync --recursive --times --update --delete-after --force --progress jpt@backup.jpt.lu:/home/jpt/Music/ /media/Daten/Media/Musik/
rsync --recursive --times --update --delete-after --force --progress jpt@5.srv.jpt.lu:/home/jpt/Music/ /home/jpt/Music/

4
bin/save-keepass Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
cp -vf /home/jpt/Cloud/Privat/Keepass/MyDB.kdbx /run/media/jpt/JPT-SUBKEYS/Keepass/MyDB.kdbx
sync