Remove other folder

This commit is contained in:
exu 2024-09-20 21:08:46 +02:00
parent d84bde1d83
commit 048bc72e1b

View File

@ -14,7 +14,7 @@ if ! ssh-add -T "${sshkeypath}.pub" &>/dev/null; then
fi
# NAS: video files
rsync -uvr --progress --delete /mnt/storage/MediaLibrary/{Movies,other,Patreon,Shows} /mnt/lan1nas1/ &
rsync -uvr --progress --delete /mnt/storage/MediaLibrary/{Movies,Patreon,Shows} /mnt/lan1nas1/ &
# NAS: music
rsync -uvrL --progress --delete /home/exu/Musik /mnt/lan1nas1/ &
@ -23,7 +23,7 @@ rsync -uvrL --progress --delete /home/exu/Musik /mnt/lan1nas1/ &
rsync -uvrL --progress --delete -e "ssh -i $sshkeypath -p $port" /home/exu/Musik/ ${user}@${server}:/mnt/media/Musik/
# 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} ${user}@${server}:/mnt/media/
# wait for background jobs
wait