> Is there an easy way from the omp command line that I can list ALL the 
> reports and delete them?

I wrote a shell command, wish it helps:

omp -X "<get_reports/>"|sed "s/></>\n</g"|grep "<report id="|sed "s/<report 
id=\"\([^\"]*\)\".*/\1/g"|xargs -i omp -X "<delete_report report_id='{}'/>"




[email protected]
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to