From 57f6f32920227fa86029a02ac2c20111c685cee8 Mon Sep 17 00:00:00 2001 From: Floris van Enter Date: Sun, 17 Dec 2017 13:47:50 +0100 Subject: [PATCH] Added Rsync script for music library --- Python/copy_music_library.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 Python/copy_music_library.sh diff --git a/Python/copy_music_library.sh b/Python/copy_music_library.sh new file mode 100755 index 0000000..96f61ba --- /dev/null +++ b/Python/copy_music_library.sh @@ -0,0 +1,18 @@ +# Copy Music library via SSH +# Tested in Python 2.7 +# I used this script to copy music files from my external thunderbolt disk +# via SSH to a plex server running on a Raspberry Pi with usb disk +# +# You can contact me by e-mail at floris@entermi.nl. +# +# Last updated 17 December, 2017. +# +# Floris van Enter +# http://entermi.nl + +#!/bin/bash + +SRC="/Volumes/thunderbolt/iTunes/Music/" +DEST="/media/zilveren/music/" + +rsync -avz -e ssh pi@raspberry:$DEST $SRC \ No newline at end of file