From 9c15804c0d5b0113b02dc35df588df2909398879 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Fri, 31 Mar 2017 14:13:53 +0200 Subject: [PATCH] Update music sync scripts --- bin/music-pull-from-server | 2 ++ bin/music-pull-from-storage | 2 +- bin/music-push-to-storage | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100755 bin/music-pull-from-server diff --git a/bin/music-pull-from-server b/bin/music-pull-from-server new file mode 100755 index 0000000..e6f8a5d --- /dev/null +++ b/bin/music-pull-from-server @@ -0,0 +1,2 @@ +#!/bin/bash +rsync --recursive --times --update --delete-after --force --progress jpt@backup.jpt.lu:/home/jpt/Music/ /media/Daten/Media/Musik/ diff --git a/bin/music-pull-from-storage b/bin/music-pull-from-storage index 51a87dc..ae2fde1 100755 --- a/bin/music-pull-from-storage +++ b/bin/music-pull-from-storage @@ -1,2 +1,2 @@ #!/bin/bash -rsync --recursive --times --update --delete-after --force --progress rsync://192.168.0.106/music /media/Daten/Media/Musik/ +rsync --recursive --times --update --delete-after --force --progress 192.168.0.106:/mnt/data/Musik/JPT/ /media/Daten/Media/Musik/ diff --git a/bin/music-push-to-storage b/bin/music-push-to-storage index 45217bc..ce1774b 100755 --- a/bin/music-push-to-storage +++ b/bin/music-push-to-storage @@ -1,2 +1,2 @@ #!/bin/bash -rsync --recursive --times --update --delete-after --force --progress /media/Daten/Media/Musik/ rsync://192.168.0.106/music +rsync --recursive --times --update --delete-after --force --progress /media/Daten/Media/Musik/ 192.168.0.106:/mnt/data/Musik/JPT/