Initial commit
This commit is contained in:
42
resources/rclone/rclone.conf
Normal file
42
resources/rclone/rclone.conf
Normal file
@@ -0,0 +1,42 @@
|
||||
[shared-furry-arts]
|
||||
type = webdav
|
||||
url = https://nextcloud.pudim.xyz/remote.php/dav/files/cloud/home/documents/furry-arts
|
||||
vendor = nextcloud
|
||||
user = cloud
|
||||
pass = gJd_pnMll3uzQSzUxzUi4TMGVFv5KHDDLQ2TjP_p711m5MlDAJI8GzeMlTtH
|
||||
|
||||
[shared-my-drawings-pngs]
|
||||
type = webdav
|
||||
url = https://nextcloud.pudim.xyz/remote.php/dav/files/cloud/home/documents/my-drawings/002_pngs
|
||||
vendor = nextcloud
|
||||
user = cloud
|
||||
pass = TSGKtRCcvcAz3Gr8zxix5s668TXWeyq1l7D6YojMOaVaNYrJPOQyTvB5Fxlm
|
||||
|
||||
[shared-pictures-memes]
|
||||
type = webdav
|
||||
url = https://nextcloud.pudim.xyz/remote.php/dav/files/cloud/home/pictures/memes
|
||||
vendor = nextcloud
|
||||
user = cloud
|
||||
pass = uhEipgJfSpWS_YvARUP3615Xl5K6eehpdlupIq9x_GgfZGIZ3NsaMZF5xcwO
|
||||
|
||||
[shared-pictures-screenshots]
|
||||
type = webdav
|
||||
url = https://nextcloud.pudim.xyz/remote.php/dav/files/cloud/home/pictures/screenshots
|
||||
vendor = nextcloud
|
||||
user = cloud
|
||||
pass = G1XyfGDSudeq5qAy9_8-uwXxrpociii35ZZErmkiBx-i8_vNF0Ywj26JSwgE
|
||||
|
||||
[shared-pictures-steam-screenshots]
|
||||
type = webdav
|
||||
url = https://nextcloud.pudim.xyz/remote.php/dav/files/cloud/home/pictures/steam-screenshots
|
||||
vendor = nextcloud
|
||||
user = cloud
|
||||
pass = eTwu6irI3n-OOpjOL-05mkaQfGh858GS4fZ0rk7-4lCRAUxTGD49BgigFLvu
|
||||
|
||||
[shared-pictures-wallpapers]
|
||||
type = webdav
|
||||
url = https://nextcloud.pudim.xyz/remote.php/dav/files/cloud/home/pictures/wallpapers
|
||||
vendor = nextcloud
|
||||
user = cloud
|
||||
pass = UPykQ4Q05OG_6Ln-vuNzHUSKOyjx9N1VwW4VRcPqwD1RD79Y_QVeTZ49bQwQ
|
||||
|
||||
18
resources/rclone/sync-folders-pigallery2.sh
Normal file
18
resources/rclone/sync-folders-pigallery2.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
PIGALLERY2_FOLDERPATH="${HOME}/incus/coolify/pigallery2"
|
||||
|
||||
rclone_config_names_list=(
|
||||
'furry-arts'
|
||||
'my-drawings-pngs'
|
||||
'pictures-memes'
|
||||
'pictures-screenshots'
|
||||
'pictures-steam-screenshots'
|
||||
'pictures-wallpapers'
|
||||
)
|
||||
|
||||
cd "${PIGALLERY2_FOLDERPATH}" || exit
|
||||
|
||||
for rclone_config_name in "${rclone_config_names_list[@]}"; do
|
||||
rclone sync --progress "shared-${rclone_config_name}:" "${PIGALLERY2_FOLDERPATH}/${rclone_config_name}"
|
||||
done
|
||||
Reference in New Issue
Block a user