Thanks a lot. I will give it a shot.
From: Openvas-discuss [mailto:[email protected]] On
Behalf Of flymolon
Sent: Wednesday, January 14, 2015 3:31 AM
To: openvas-discuss
Subject: Re: [Openvas-discuss] Reports - OMP List/Delete Command?
> 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]<mailto:[email protected]>
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss