configs/arch-config/scripts/in_path/sc-jellyfin-update-new

17 lines
555 B
Plaintext
Raw Normal View History

#!/bin/bash
set -euo pipefail
2022-02-15 15:30:30 +01:00
user=u289320-sub1
server=u289320-sub1.your-storagebox.de
port=23
sshkeypath=$HOME/.ssh/id_rsa_jellyfin
2022-01-26 07:32:55 +01:00
# transfer Music
2022-02-15 15:30:30 +01:00
rsync -uvrL --progress --bwlimit=4M -e "ssh -i $sshkeypath -p $port" /home/marc/Musik/ ${user}@${server}:Musik/
# transfer Shows
2022-02-15 15:30:30 +01:00
rsync -uvr --progress --bwlimit=4M -e "ssh -i $sshkeypath -p $port" /mnt/storage/MediaLibrary/Shows/ ${user}@${server}:Shows/
2022-01-26 07:32:55 +01:00
# transfer Movies
2022-02-15 15:30:30 +01:00
rsync -uvr --progress --bwlimit=4M -e "ssh -i $sshkeypath -p $port" /mnt/storage/MediaLibrary/Movies/ ${user}@${server}:Movies/