Using non-root account now. Modifying permissions of files
This commit is contained in:
parent
a089500ab5
commit
4209aebf05
@ -2,22 +2,38 @@
|
|||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|
||||||
Update Movies
|
### Update Movies
|
||||||
```bash
|
*Don't use this*
|
||||||
|
```
|
||||||
rsync -uvr --progress --bwlimit=4096 /mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/MediaLibrary/Movies/ root@jellyfin.realstickman.net:/home/jellyfin/Movies
|
rsync -uvr --progress --bwlimit=4096 /mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/MediaLibrary/Movies/ root@jellyfin.realstickman.net:/home/jellyfin/Movies
|
||||||
```
|
```
|
||||||
|
*Non-root user*
|
||||||
Update Shows
|
```
|
||||||
```bash
|
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
|
||||||
rsync -uvr --progress --bwlimit=4096 /mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/MediaLibrary/Shows/ root@jellyfin.realstickman.net:/home/jellyfin/Shows
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Update Musik
|
### Update Shows
|
||||||
```bash
|
*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
|
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
|
||||||
|
```
|
||||||
|
|
||||||
Update Website
|
Update Website
|
||||||
```bash
|
```
|
||||||
rsync -vr --bwlimit=4096 /home/marc/GitProjects/website/ root@realstickman.net:/var/www/website
|
rsync -vr --bwlimit=4096 /home/marc/GitProjects/website/ root@realstickman.net:/var/www/website
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user