[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mail script attachment



On Fri, Jun 29, 2001 at 10:57:14PM -0700, ben djaya wrote:
> Hi,
> I have some binary files, and I need to mail it
> separately. For each file I want to attach it in a
> mail. 
> Can somebody help me make a script, so that they can
> be mailed automatically. 
> I hope I can use pine for the script, or mail is OK.

metamail might be able to help...

for i in (ls -1 $dir); do
  metamail <bunch of arguments> $i
done 

-- 
Eric G. Miller <egm2@jps.net>



Reply to: