Remove YouTube
This commit is contained in:
parent
6d0edfe367
commit
d899c7e908
@ -14,34 +14,24 @@ if ! ssh-add -T "${sshkeypath}.pub" &>/dev/null; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# transfer to nas
|
# transfer to nas
|
||||||
#rsync -uvr --progress /mnt/storage/MediaLibrary/{Movies,other,Patreon,Shows,YouTube} /mnt/lan1nas1/
|
rsync -uvr --progress --delete /mnt/storage/MediaLibrary/{Movies,other,Patreon,Shows} /mnt/lan1nas1/
|
||||||
rsync -uvr --progress --delete /mnt/storage/MediaLibrary/{Movies,other,Patreon,Shows,YouTube} /mnt/lan1nas1/
|
|
||||||
|
|
||||||
# Music to NAS. Leading source is main PC
|
# Music to NAS. Leading source is main PC
|
||||||
rsync -uvrL --progress --delete /home/exu/Musik /mnt/lan1nas1/
|
rsync -uvrL --progress --delete /home/exu/Musik /mnt/lan1nas1/
|
||||||
|
|
||||||
# transfer Music
|
# transfer Music
|
||||||
#rsync -uvrL --progress --bwlimit=4M -e "ssh -i $sshkeypath -p $port" /home/exu/Musik/ ${user}@${server}:/mnt/media/Musik/
|
|
||||||
rsync -uvr --progress --delete --bwlimit=2M -e "ssh -i $sshkeypath -p $port" /mnt/lan1nas1/Musik/ ${user}@${server}:/mnt/media/Musik/
|
rsync -uvr --progress --delete --bwlimit=2M -e "ssh -i $sshkeypath -p $port" /mnt/lan1nas1/Musik/ ${user}@${server}:/mnt/media/Musik/
|
||||||
|
|
||||||
# transfer Shows
|
# transfer Shows
|
||||||
#rsync -uvr --progress --bwlimit=4M -e "ssh -i $sshkeypath -p $port" /mnt/storage/MediaLibrary/Shows/ ${user}@${server}:/mnt/media/Shows/
|
|
||||||
rsync -uvr --progress --delete --bwlimit=2M -e "ssh -i $sshkeypath -p $port" /mnt/lan1nas1/Shows/ ${user}@${server}:/mnt/media/Shows/
|
rsync -uvr --progress --delete --bwlimit=2M -e "ssh -i $sshkeypath -p $port" /mnt/lan1nas1/Shows/ ${user}@${server}:/mnt/media/Shows/
|
||||||
|
|
||||||
# transfer Movies
|
# transfer Movies
|
||||||
#rsync -uvr --progress --bwlimit=4M -e "ssh -i $sshkeypath -p $port" /mnt/storage/MediaLibrary/Movies/ ${user}@${server}:/mnt/media/Movies/
|
|
||||||
rsync -uvr --progress --delete --bwlimit=2M -e "ssh -i $sshkeypath -p $port" /mnt/lan1nas1/Movies/ ${user}@${server}:/mnt/media/Movies/
|
rsync -uvr --progress --delete --bwlimit=2M -e "ssh -i $sshkeypath -p $port" /mnt/lan1nas1/Movies/ ${user}@${server}:/mnt/media/Movies/
|
||||||
|
|
||||||
# transfer other
|
# transfer other
|
||||||
#rsync -uvr --progress --bwlimit=4M -e "ssh -i $sshkeypath -p $port" /mnt/storage/MediaLibrary/other/ ${user}@${server}:/mnt/media/other/
|
|
||||||
rsync -uvr --progress --delete --bwlimit=2M -e "ssh -i $sshkeypath -p $port" /mnt/lan1nas1/other/ ${user}@${server}:/mnt/media/other/
|
rsync -uvr --progress --delete --bwlimit=2M -e "ssh -i $sshkeypath -p $port" /mnt/lan1nas1/other/ ${user}@${server}:/mnt/media/other/
|
||||||
|
|
||||||
# transfer downloaded YouTube videos
|
# transfer downloaded YouTube videos
|
||||||
#rsync -uvr --progress --bwlimit=4M -e "ssh -i $sshkeypath -p $port" /mnt/storage/MediaLibrary/YouTube/ ${user}@${server}:/mnt/media/YouTube/
|
#rsync -uvr --progress --delete --bwlimit=2M -e "ssh -i $sshkeypath -p $port" /mnt/lan1nas1/YouTube/ ${user}@${server}:/mnt/media/YouTube/
|
||||||
rsync -uvr --progress --delete --bwlimit=2M -e "ssh -i $sshkeypath -p $port" /mnt/lan1nas1/YouTube/ ${user}@${server}:/mnt/media/YouTube/
|
|
||||||
|
|
||||||
# NOTE wait to make sure the transfer to the nas is complete as well
|
|
||||||
# https://stackoverflow.com/a/41791336
|
|
||||||
#wait
|
|
||||||
|
|
||||||
echo "Finished transfering data"
|
echo "Finished transfering data"
|
||||||
|
Loading…
Reference in New Issue
Block a user