Allow ncs to create the required directory
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user