I am trying to delete Nexus package which are associated with more than one version. I am running a curl command to delete it, but I want a generic command which will delete all package under a folder
This is the curl command I am using
curl -v -u ${NEXUS_CREDS} -X “DELETE” http://${SONATYPE_NEXUS_SERVICE_SERVICE_HOST}:${SONATYPE_NEXUS_SERVICE_SERVICE_PORT}/repository/${NEXUS_REPO_NAME}/${APP_NAME}/${PACKAGE}
where PACKAGE ="${APP_NAME}-${VERSION}.tar.gz". I need to provide a command which will not delete a particular version only.