syncclouds.sh: fix password for nextcloudcmd

This commit is contained in:
Alexander Bocken 2024-02-03 12:11:45 +01:00
parent 8d4aabc052
commit d4073acce2
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -14,7 +14,7 @@ moodle_pid=$!
# sync nextcloud drive # sync nextcloud drive
echo "syncclouds.sh: nextcloudcmd" echo "syncclouds.sh: nextcloudcmd"
{ {
nextcloudcmd -u "alexander" --password "Misc/nextcloud_token" ~/dox/nextcloud https://cloud.bocken.org nextcloudcmd -u "alexander" --password "$(pass show Misc/nextcloud_token | head -n1)" ~/dox/nextcloud https://cloud.bocken.org
} > /dev/null 2>&1 & } > /dev/null 2>&1 &
nextcloud_pid=$! nextcloud_pid=$!