Resend archived mail

Res res at ausics.net
Thu May 18 08:48:51 IST 2006


Hi John,

On Wed, 17 May 2006, John Schmerold wrote:

> Thank you. You've provided some very good inspiration. Of course, I've run 
> into the dreaded "Argument list too long" issue.

This is a shell limitation (you can increase it)

However the fact you are  doing */*/qf*  tremendously adds to your pain, 
cd into the directory and do qf* and your arg list capability grows much 
much more, if its still an issue  'xargs' is your new friend to get 
around it.

>> for i in `grep "rRFC822" */*/qf* | \
>> grep -w domain.com | \
>> awk -F : '{print $1}' | \
>> sort -u | \
>> sed 's/\/qf/\/?f/'`; \
>> do echo $i; \
>> done;

--
Regards,
Res



More information about the MailScanner mailing list