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

17 lines
594 B
Plaintext
Raw Normal View History

2021-05-15 21:26:22 +02:00
#!/bin/bash
set -euo pipefail
sshkeypath=$HOME/.ssh/id_ed25519_non-root
user=jellyfin
server=albedo.realstickman.net
2022-01-26 07:32:55 +01:00
# Update Music
rsync -uvrL --progress --bwlimit=4096 --chmod=744 -e "ssh -i $sshkeypath" /home/marc/Musik/ ${user}@${server}:/home/jellyfin/Musik/
2021-05-15 21:26:22 +02:00
# Update Shows
rsync -uvr --progress --bwlimit=4096 --chmod=744 -e "ssh -i $sshkeypath" /mnt/storage/MediaLibrary/Shows/ ${user}@${server}:/home/jellyfin/Shows/
2022-01-26 07:32:55 +01:00
# update Movies
rsync -uvr --progress --bwlimit=4096 --chmod=744 -e "ssh -i $sshkeypath" /mnt/storage/MediaLibrary/Movies/ ${user}@${server}:/home/jellyfin/Movies/