Allow ncs to create the required directory

This commit is contained in:
2024-05-09 00:50:53 +01:00
parent be1b1377c4
commit a513ac13f8

View File

@@ -29,7 +29,7 @@ ncs() {
server=$1 server=$1
fi fi
echo "+ Syncing ~/Nextcloud/SYNC @ $server" echo "+ Syncing ~/Nextcloud/SYNC @ $server"
mkdir ~/Nextcloud &> /dev/null mkdir -p ~/Nextcloud/SYNC &> /dev/null
nextcloudcmd -u $USER --path "/SYNC" ~/Nextcloud/SYNC "https://$server" nextcloudcmd -u $USER --path "/SYNC" ~/Nextcloud/SYNC "https://$server"
} }