Op Thu, 2 Sep 2004 09:38:05 +0200 schreef Harald T ZIPKO:

>Manually it's possible to copy the text from the file via
>~r /name/of/the/file.txt
>But:
>How do I force 'mail' in a shell script to send a file as attachment to
>[EMAIL PROTECTED]
>(at the end of the week I would like to know quotas on a remote server)

Do you mean textfiles or binaries?

For text it is simple:

cat textfile | mail...

For binaries it is not much harder:

uuencode binary | mail...

This works fine for me.
Paul

-- 
A cement mixer collided with a prison van on the Kingston Pass. 
Motorists are asked to be on the lookout for 16 hardened criminals.

http://www.nlpagan.net/linux.htm
Have you visited http://twiki.mdklinuxfaq.org yet?

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to