<br><br><div><span class="gmail_quote">On 8/16/07, <b class="gmail_sendername">Gunnar Wrobel</b> <<a href="mailto:wrobel@pardus.de">wrobel@pardus.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thomas Spuhler <<a href="mailto:thomas@btspuhler.com">thomas@btspuhler.com</a>> writes:<br><br>> Is there an easy way to delete a very large amount of spam<br>> in /var/spool/amavis/<br>> Rm doesn't work, message is too many arguments.
<br><br>If "rm" complains about about the number of arguments on the command<br>line, you can list all the files using "ls" and pipe them into "xargs<br>rm" that will run the "rm" command on smaller chunks:
<br><br>ls * | xargs rm</blockquote><div><br>This will not work for the same reason of "rm *" is not working :-)<br><br>ls | xargs rm <br><br>should work<br><br>and to be really sure (to bypase any "ls" aliases):
<br><br>/bin/ls | xargs<br><br>Regrads<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I don't know if simply deleting files in the amavis spool is a good
<br>idea though.<br><br>> I started to delete them in as large chunks as possible, but gave up after<br>> about 6 hours.<br>> Konqueror isn't able to display all files<br>><br>> --<br>> Thomas<br>> _______________________________________________
<br>> Kolab-users mailing list<br>> <a href="mailto:Kolab-users@kolab.org">Kolab-users@kolab.org</a><br>> <a href="https://kolab.org/mailman/listinfo/kolab-users">https://kolab.org/mailman/listinfo/kolab-users</a>
<br><br>--<br>______ <a href="http://kdab.com">http://kdab.com</a> _______________ <a href="http://kolab-konsortium.com">http://kolab-konsortium.com</a> _<br><br>p@rdus Kolab work is funded in part by KDAB and the Kolab Konsortium
<br><br>____ <a href="http://www.pardus.de">http://www.pardus.de</a> _________________ <a href="http://gunnarwrobel.de">http://gunnarwrobel.de</a> _<br>E-mail : <a href="mailto:p@rdus.de">p@rdus.de</a>                                 Dr. Gunnar Wrobel
<br>Tel.   : +49 40 432 72335                           Bundesstrasse 29<br>Fax    : +49 40 432 70855                            D-20146 Hamburg<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>   >> Mail at ease - Rent a kolab groupware server at 
p@rdus <<<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><br>_______________________________________________<br>Kolab-users mailing list<br><a href="mailto:Kolab-users@kolab.org">Kolab-users@kolab.org
</a><br><a href="https://kolab.org/mailman/listinfo/kolab-users">https://kolab.org/mailman/listinfo/kolab-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Alain Spineux<br>aspineux gmail com<br>May the sources be with you