Add audiobook transfer

This commit is contained in:
exu 2024-07-23 19:46:27 +02:00
parent b513d068d5
commit f0d045518b

View File

@ -19,10 +19,19 @@ rsync -uvr --progress --delete /mnt/storage/MediaLibrary/{Movies,other,Patreon,S
# NAS: music # NAS: music
rsync -uvrL --progress --delete /home/exu/Musik /mnt/lan1nas1/ & rsync -uvrL --progress --delete /home/exu/Musik /mnt/lan1nas1/ &
# NAS: audiobooks
rsync -uvrL --progress "/mnt/storage/MediaLibrary/Audiobooks" /mnt/lan1nas1/ &
# Server: music # Server: music
rsync -uvrL --progress --delete -e "ssh -i $sshkeypath -p $port" /home/exu/Musik/ ${user}@${server}:/mnt/media/Musik/ rsync -uvrL --progress --delete -e "ssh -i $sshkeypath -p $port" /home/exu/Musik/ ${user}@${server}:/mnt/media/Musik/
# Server: video files # Server: video files
rsync -uvr --progress --delete -e "ssh -i $sshkeypath -p $port" /mnt/storage/MediaLibrary/{Movies,Shows,other} ${user}@${server}:/mnt/media/ rsync -uvr --progress --delete -e "ssh -i $sshkeypath -p $port" /mnt/storage/MediaLibrary/{Movies,Shows,other} ${user}@${server}:/mnt/media/
# Server: audiobooks
rsync -uvr --progress -e "ssh -i $sshkeypath -p $port" "/mnt/storage/MediaLibrary/Audiobooks" "${user}@${server}:/mnt/media/"
# wait for background jobs
wait
echo "Finished transfering data" echo "Finished transfering data"