Download metadata for audiobooks first
This commit is contained in:
parent
f0d045518b
commit
c7832e07cf
@ -13,6 +13,9 @@ if ! ssh-add -T "${sshkeypath}.pub" &>/dev/null; then
|
||||
ssh-add -q "$sshkeypath"
|
||||
fi
|
||||
|
||||
# Server: sync other files from audiobooks
|
||||
rsync -uvr --progress -e "ssh -i $sshkeypath -p $port" "${user}@${server}:/mnt/media/" "/mnt/storage/MediaLibrary/Audiobooks"
|
||||
|
||||
# NAS: video files
|
||||
rsync -uvr --progress --delete /mnt/storage/MediaLibrary/{Movies,other,Patreon,Shows} /mnt/lan1nas1/ &
|
||||
|
||||
@ -20,7 +23,7 @@ rsync -uvr --progress --delete /mnt/storage/MediaLibrary/{Movies,other,Patreon,S
|
||||
rsync -uvrL --progress --delete /home/exu/Musik /mnt/lan1nas1/ &
|
||||
|
||||
# NAS: audiobooks
|
||||
rsync -uvrL --progress "/mnt/storage/MediaLibrary/Audiobooks" /mnt/lan1nas1/ &
|
||||
rsync -uvrL --progress --delete "/mnt/storage/MediaLibrary/Audiobooks" /mnt/lan1nas1/ &
|
||||
|
||||
# Server: music
|
||||
rsync -uvrL --progress --delete -e "ssh -i $sshkeypath -p $port" /home/exu/Musik/ ${user}@${server}:/mnt/media/Musik/
|
||||
@ -29,7 +32,7 @@ rsync -uvrL --progress --delete -e "ssh -i $sshkeypath -p $port" /home/exu/Musik
|
||||
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/"
|
||||
rsync -uvr --progress --delete -e "ssh -i $sshkeypath -p $port" "/mnt/storage/MediaLibrary/Audiobooks" "${user}@${server}:/mnt/media/"
|
||||
|
||||
# wait for background jobs
|
||||
wait
|
||||
|
Loading…
Reference in New Issue
Block a user