Remove other folder
This commit is contained in:
parent
d84bde1d83
commit
048bc72e1b
@ -14,7 +14,7 @@ if ! ssh-add -T "${sshkeypath}.pub" &>/dev/null; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# NAS: video files
|
# 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
|
# NAS: music
|
||||||
rsync -uvrL --progress --delete /home/exu/Musik /mnt/lan1nas1/ &
|
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/
|
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} ${user}@${server}:/mnt/media/
|
||||||
|
|
||||||
# wait for background jobs
|
# wait for background jobs
|
||||||
wait
|
wait
|
||||||
|
Loading…
Reference in New Issue
Block a user