Delete books on kavita that don't exist locally
This commit is contained in:
parent
a780725496
commit
00db363f85
@ -16,30 +16,30 @@ fi
|
|||||||
# transfer to kavita
|
# transfer to kavita
|
||||||
# books
|
# books
|
||||||
echo Kavita books upload
|
echo Kavita books upload
|
||||||
rsync -urtzv --progress --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/marc/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/marc/Nextcloud/Books/Manga/ ${user}@${server}:/mnt/books/kavita/manga/
|
||||||
# Tech
|
# Tech
|
||||||
echo Kavita tech upload
|
echo Kavita tech upload
|
||||||
rsync -urtzv --progress --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/marc/Nextcloud/Books/Tech/ ${user}@${server}:/mnt/books/kavita/tech/
|
||||||
# other
|
# other
|
||||||
echo Kavita other upload
|
echo Kavita other upload
|
||||||
rsync -urtzv --progress --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/marc/Nextcloud/Books/other/ ${user}@${server}:/mnt/books/kavita/other/
|
||||||
|
|
||||||
# transfer to kavita-nightly
|
# transfer to kavita-nightly
|
||||||
# books
|
# books
|
||||||
echo Kavita Nightly books upload
|
echo Kavita Nightly books upload
|
||||||
rsync -urtzv --progress --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/marc/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/marc/Nextcloud/Books/Manga/ ${user}@${server}:/mnt/books/kavita-nightly/manga/
|
||||||
# Tech
|
# Tech
|
||||||
echo Kavita Nightly tech upload
|
echo Kavita Nightly tech upload
|
||||||
rsync -urtzv --progress --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/marc/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 --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/marc/Nextcloud/Books/other/ ${user}@${server}:/mnt/books/kavita-nightly/other/
|
||||||
|
|
||||||
# download from kavita
|
# download from kavita
|
||||||
# books
|
# books
|
||||||
|
Loading…
Reference in New Issue
Block a user