Sync youtube folder

This commit is contained in:
RealStickman 2023-02-01 20:54:43 +01:00
parent ac2bd4d8fe
commit 08e5fe843c

View File

@ -15,7 +15,7 @@ fi
# transfer to nas
#rsync -uvr --progress /mnt/storage/MediaLibrary/{Movies,other,Patreon,Shows,YouTube} /mnt/lan1nas1/
rsync -uvr --progress /mnt/storage/MediaLibrary/{Movies,other,Patreon,Shows} /mnt/lan1nas1/
rsync -uvr --progress /mnt/storage/MediaLibrary/{Movies,other,Patreon,Shows,YouTube} /mnt/lan1nas1/
# Music to NAS. Leading source is main PC
rsync -uvrL --progress --delete /home/marc/Musik /mnt/lan1nas1/
@ -38,7 +38,7 @@ rsync -uvr --progress --delete --bwlimit=2M -e "ssh -i $sshkeypath -p $port" /mn
# 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