zhaoway (zhaoway@xteamlinux.com.cn) wrote: > how could i mail people attach file using a single command? > like mail -s "some" some@xxxx.com --attach $HOME/some.tar.gz Install mutt. mutt -s "some" some@xxxx.com -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." wooledge@kellnet.com | Red Hot Chili Peppers, http://www.kellnet.com/wooledge/ |
Attachment:
pgpFdEUxWfn0W.pgp
Description: PGP signature