Sync youtube folder
This commit is contained in:
parent
ac2bd4d8fe
commit
08e5fe843c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user