[Mailman-Users] deleting "pending for approval" from command line

Patrick Bogen pdbogen at gmail.com
Fri Nov 10 18:11:34 CET 2006


On 11/10/06, Carl Zwanzig <cpz at tuunq.com> wrote:
> a coupla notes-
> The formatting comes out a bit wonky, ie
>         $ cd ~mailman/data $ rm heldmsg-<listname>-*
> is one line.
Fixed.

> I'm a more of fan of piping find output to xargs instead of using -exec.
>         find heldmsg  -name '*' | xargs rm
> (it also looks like the base dir is missing in the example.)
That seems like it'd be more efficient. Changed. (Fixed.)

>
> I don't see how the last example would be any better than the first, you
> can still fill up the cmd line.

Good point.

-- 
- Patrick Bogen



More information about the Mailman-Users mailing list