Update paths for new user
This commit is contained in:
parent
4572c100cc
commit
7efe2df12e
@ -392,7 +392,7 @@ cat <<EOF
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
# generate betterlockscreen cache image in background
|
# generate betterlockscreen cache image in background
|
||||||
imagepath="/home/marc/Bilder/Backgrounds/artstation/dk-lan/artstation_14224733_55806391_月半与鬼哭.jpg"
|
#imagepath="/home/exu/Bilder/Backgrounds/artstation/dk-lan/artstation_14224733_55806391_月半与鬼哭.jpg"
|
||||||
#if [ -f "$imagepath" ]; then
|
#if [ -f "$imagepath" ]; then
|
||||||
# betterlockscreen -u "$imagepath" &
|
# betterlockscreen -u "$imagepath" &
|
||||||
# pids="$pids $!"
|
# pids="$pids $!"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
user=exu
|
user=exu
|
||||||
@ -18,10 +18,10 @@ fi
|
|||||||
rsync -uvr --progress --delete /mnt/storage/MediaLibrary/{Movies,other,Patreon,Shows,YouTube} /mnt/lan1nas1/
|
rsync -uvr --progress --delete /mnt/storage/MediaLibrary/{Movies,other,Patreon,Shows,YouTube} /mnt/lan1nas1/
|
||||||
|
|
||||||
# Music to NAS. Leading source is main PC
|
# Music to NAS. Leading source is main PC
|
||||||
rsync -uvrL --progress --delete /home/marc/Musik /mnt/lan1nas1/
|
rsync -uvrL --progress --delete /home/exu/Musik /mnt/lan1nas1/
|
||||||
|
|
||||||
# transfer Music
|
# transfer Music
|
||||||
#rsync -uvrL --progress --bwlimit=4M -e "ssh -i $sshkeypath -p $port" /home/marc/Musik/ ${user}@${server}:/mnt/media/Musik/
|
#rsync -uvrL --progress --bwlimit=4M -e "ssh -i $sshkeypath -p $port" /home/exu/Musik/ ${user}@${server}:/mnt/media/Musik/
|
||||||
rsync -uvr --progress --delete --bwlimit=2M -e "ssh -i $sshkeypath -p $port" /mnt/lan1nas1/Musik/ ${user}@${server}:/mnt/media/Musik/
|
rsync -uvr --progress --delete --bwlimit=2M -e "ssh -i $sshkeypath -p $port" /mnt/lan1nas1/Musik/ ${user}@${server}:/mnt/media/Musik/
|
||||||
|
|
||||||
# transfer Shows
|
# transfer Shows
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
user=exu
|
user=exu
|
||||||
@ -16,47 +16,47 @@ fi
|
|||||||
# transfer to kavita
|
# transfer to kavita
|
||||||
# books
|
# books
|
||||||
echo Kavita books upload
|
echo Kavita books upload
|
||||||
rsync -urtzv --progress --delete --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/marc/Nextcloud/Books/Unterhaltung/ ${user}@${server}:/mnt/books/kavita/books/
|
rsync -urtzv --progress --delete --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/exu/Nextcloud/Books/Unterhaltung/ ${user}@${server}:/mnt/books/kavita/books/
|
||||||
# manga
|
# manga
|
||||||
echo Kavita manga upload
|
echo Kavita manga upload
|
||||||
rsync -urtzv --progress --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/marc/Nextcloud/Books/Manga/ ${user}@${server}:/mnt/books/kavita/manga/
|
rsync -urtzv --progress --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/exu/Nextcloud/Books/Manga/ ${user}@${server}:/mnt/books/kavita/manga/
|
||||||
# guides
|
# guides
|
||||||
echo Kavita guides upload
|
echo Kavita guides upload
|
||||||
rsync -urtzv --progress --delete --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/marc/Nextcloud/Books/Guides/ ${user}@${server}:/mnt/books/kavita/guides/
|
rsync -urtzv --progress --delete --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/exu/Nextcloud/Books/Guides/ ${user}@${server}:/mnt/books/kavita/guides/
|
||||||
# Tech
|
# Tech
|
||||||
echo Kavita tech upload
|
echo Kavita tech upload
|
||||||
rsync -urtzv --progress --delete --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/marc/Nextcloud/Books/Tech/ ${user}@${server}:/mnt/books/kavita/tech/
|
rsync -urtzv --progress --delete --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/exu/Nextcloud/Books/Tech/ ${user}@${server}:/mnt/books/kavita/tech/
|
||||||
# other
|
# other
|
||||||
echo Kavita other upload
|
echo Kavita other upload
|
||||||
rsync -urtzv --progress --delete --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/marc/Nextcloud/Books/other/ ${user}@${server}:/mnt/books/kavita/other/
|
rsync -urtzv --progress --delete --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/exu/Nextcloud/Books/other/ ${user}@${server}:/mnt/books/kavita/other/
|
||||||
|
|
||||||
# download from kavita
|
# download from kavita
|
||||||
# books
|
# books
|
||||||
#echo Downloading books
|
#echo Downloading books
|
||||||
#rsync -ur --progress --bwlimit=3M -e "ssh -i $sshkeypath -p $port" ${user}@${server}:/mnt/books/kavita/books/ /home/marc/Nextcloud/Books/Unterhaltung/
|
#rsync -ur --progress --bwlimit=3M -e "ssh -i $sshkeypath -p $port" ${user}@${server}:/mnt/books/kavita/books/ /home/exu/Nextcloud/Books/Unterhaltung/
|
||||||
# manga
|
# manga
|
||||||
echo Kavita manga download
|
echo Kavita manga download
|
||||||
rsync -urtzv --progress --bwlimit=3M -e "ssh -i $sshkeypath -p $port" ${user}@${server}:/mnt/books/kavita/manga/ /home/marc/Nextcloud/Books/Manga/
|
rsync -urtzv --progress --bwlimit=3M -e "ssh -i $sshkeypath -p $port" ${user}@${server}:/mnt/books/kavita/manga/ /home/exu/Nextcloud/Books/Manga/
|
||||||
# Tech
|
# Tech
|
||||||
#echo Downloading tech
|
#echo Downloading tech
|
||||||
#rsync -ur --progress --bwlimit=3M -e "ssh -i $sshkeypath -p $port" ${user}@${server}:/mnt/books/kavita/tech/ /home/marc/Nextcloud/Books/Tech/
|
#rsync -ur --progress --bwlimit=3M -e "ssh -i $sshkeypath -p $port" ${user}@${server}:/mnt/books/kavita/tech/ /home/exu/Nextcloud/Books/Tech/
|
||||||
# other
|
# other
|
||||||
#echo Downloading other
|
#echo Downloading other
|
||||||
#rsync -ur --progress --bwlimit=3M -e "ssh -i $sshkeypath -p $port" ${user}@${server}:/mnt/books/kavita/other/ /home/marc/Nextcloud/Books/other/
|
#rsync -ur --progress --bwlimit=3M -e "ssh -i $sshkeypath -p $port" ${user}@${server}:/mnt/books/kavita/other/ /home/exu/Nextcloud/Books/other/
|
||||||
|
|
||||||
# transfer to kavita-nightly
|
# transfer to kavita-nightly
|
||||||
# books
|
# books
|
||||||
echo Kavita Nightly books upload
|
echo Kavita Nightly books upload
|
||||||
rsync -urtzv --progress --delete --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/marc/Nextcloud/Books/Unterhaltung/ ${user}@${server}:/mnt/books/kavita-nightly/books/
|
rsync -urtzv --progress --delete --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/exu/Nextcloud/Books/Unterhaltung/ ${user}@${server}:/mnt/books/kavita-nightly/books/
|
||||||
# manga
|
# manga
|
||||||
echo Kavita Nightly manga upload
|
echo Kavita Nightly manga upload
|
||||||
rsync -urtzv --progress --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/marc/Nextcloud/Books/Manga/ ${user}@${server}:/mnt/books/kavita-nightly/manga/
|
rsync -urtzv --progress --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/exu/Nextcloud/Books/Manga/ ${user}@${server}:/mnt/books/kavita-nightly/manga/
|
||||||
# guides
|
# guides
|
||||||
echo Kavita guides upload
|
echo Kavita guides upload
|
||||||
rsync -urtzv --progress --delete --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/marc/Nextcloud/Books/Guides/ ${user}@${server}:/mnt/books/kavita-nightly/guides/
|
rsync -urtzv --progress --delete --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/exu/Nextcloud/Books/Guides/ ${user}@${server}:/mnt/books/kavita-nightly/guides/
|
||||||
# Tech
|
# Tech
|
||||||
echo Kavita Nightly tech upload
|
echo Kavita Nightly tech upload
|
||||||
rsync -urtzv --progress --delete --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/marc/Nextcloud/Books/Tech/ ${user}@${server}:/mnt/books/kavita-nightly/tech/
|
rsync -urtzv --progress --delete --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/exu/Nextcloud/Books/Tech/ ${user}@${server}:/mnt/books/kavita-nightly/tech/
|
||||||
# other
|
# other
|
||||||
echo Kavita Nightly other upload
|
echo Kavita Nightly other upload
|
||||||
rsync -urtzv --progress --delete --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/marc/Nextcloud/Books/other/ ${user}@${server}:/mnt/books/kavita-nightly/other/
|
rsync -urtzv --progress --delete --bwlimit=3M -e "ssh -i $sshkeypath -p $port" /home/exu/Nextcloud/Books/other/ ${user}@${server}:/mnt/books/kavita-nightly/other/
|
||||||
|
Loading…
Reference in New Issue
Block a user