zhaoway ([EMAIL PROTECTED]) wrote:

> how could i mail people attach file using a single command?
> like mail -s "some" [EMAIL PROTECTED] --attach $HOME/some.tar.gz

Install mutt.

  mutt -s "some" [EMAIL PROTECTED] -a $HOME/some.tar.gz </dev/null

(Or you could include a body in your message instead of /dev/null.)

-- 
Greg Wooledge                    | "Truth belongs to everybody."
[EMAIL PROTECTED]             |   Red Hot Chili Peppers,
http://www.kellnet.com/wooledge/ |

Attachment: pgpIkwcP8xvv7.pgp
Description: PGP signature

Reply via email to