From 7077a5233ca51546cc9ea99d4108a679aa2ca396 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Wed, 20 Jan 2021 16:30:52 +0100 Subject: [PATCH] Remove root user rsync. rsync for Music follow symbolic links --- arch-config/Dokumente/rsync.md | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/arch-config/Dokumente/rsync.md b/arch-config/Dokumente/rsync.md index eee6d1d3..b2c81c26 100755 --- a/arch-config/Dokumente/rsync.md +++ b/arch-config/Dokumente/rsync.md @@ -3,34 +3,19 @@ ## Commands ### Update Movies -*Don't use this* -``` -rsync -uvr --progress --bwlimit=4096 /mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/MediaLibrary/Movies/ root@jellyfin.realstickman.net:/home/jellyfin/Movies/ -``` -*Non-root user* ``` rsync -uvr --progress --bwlimit=4096 --chmod=744 -e "ssh -i $HOME/.ssh/id_ed25519_non-root" /mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/MediaLibrary/Movies/ jellyfin@jellyfin.realstickman.net:/home/jellyfin/Movies/ ``` ### Update Shows -*Don't use this* -``` -rsync -uvr --progress --bwlimit=4096 /mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/MediaLibrary/Shows/ root@jellyfin.realstickman.net:/home/jellyfin/Shows/ -``` -*Non-root user* ``` rsync -uvr --progress --bwlimit=4096 --chmod=744 -e "ssh -i $HOME/.ssh/id_ed25519_non-root" /mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/MediaLibrary/Shows/ jellyfin@jellyfin.realstickman.net:/home/jellyfin/Shows/ ``` ### Update Musik -*Don't use this* ``` -rsync -uvr --progress --bwlimit=4096 /home/marc/Musik/ root@jellyfin.realstickman.net:/home/jellyfin/Musik/ -``` -*Non-root user* -``` -rsync -uvr --progress --bwlimit=4096 --chmod=744 -e "ssh -i $HOME/.ssh/id_ed25519_non-root" /home/marc/Musik/ jellyfin@jellyfin.realstickman.net:/home/jellyfin/Musik/ +rsync -uvrL --progress --bwlimit=4096 --chmod=744 -e "ssh -i $HOME/.ssh/id_ed25519_non-root" /home/marc/Musik/ jellyfin@jellyfin.realstickman.net:/home/jellyfin/Musik/ ``` Update Website