Added Rsync script for music library

This commit is contained in:
Floris van Enter 2017-12-17 13:47:50 +01:00
parent a21976f3cd
commit 57f6f32920

18
Python/copy_music_library.sh Executable file
View File

@ -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