Deleting all old postings

Alexander Bartolich alexander.bartolich at gmx.at
Wed Oct 15 20:24:18 UTC 2008


Julien ÉLIE schrieb:
> Hi Brad,
> 
>> Is there an easy way to delete ALL old postings from the database?
> [...]
> Any other better ideas?

Remove all groups:

   awk '{printf "ctlinnd rmgroup %s\n", $1}' /var/lib/news/active

To recreate all groups stored in a saved copy of the active file:

   awk '{printf "ctlinnd newgroup %s %s\n", $1, $4}' active

Ciao

     Alexander.


More information about the inn-workers mailing list