From 08e5fe843c080c3d2249e26f25576662b02517c6 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Wed, 1 Feb 2023 20:54:43 +0100 Subject: [PATCH] Sync youtube folder --- arch-config/scripts/in_path/sc-jellyfin-update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch-config/scripts/in_path/sc-jellyfin-update b/arch-config/scripts/in_path/sc-jellyfin-update index cb6b7e94..fcf70b59 100755 --- a/arch-config/scripts/in_path/sc-jellyfin-update +++ b/arch-config/scripts/in_path/sc-jellyfin-update @@ -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