Date: Fri, 10 Nov 2000 09:40:36 -0800 (PST) From: Philip Hallstrom <philip@adhesivemedia.com> To: "Dib, Allan L" <Dib.Allan.L@edumail.vic.gov.au> Cc: "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@FreeBSD.ORG> Subject: Re: Sending an attachment from the command line Message-ID: <Pine.BSF.4.21.0011100940240.74562-100000@oddjob.adhesivemedia.com> In-Reply-To: <AB00AFFA26B4D31183520090276120C77F594B@edu001ms009.edumail.vic.gov.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Check out the mpack port... On Fri, 10 Nov 2000, Dib, Allan L wrote: > Hiya everyone, > > I currently use the very useful 'mail' command from the command line and from > scripts to e-mail output of a progam. An example: > > ls|mail -s "hello" dib.allan.l@edumail.vic.gov.au > > will e-mail me the output of the 'ls' command with a subject line "hello". > > I need to be able to e-mail a given (binary) file as an attachmentment with a > similar kind command. I have had no luck with man pages for either sendmail or > the 'mail' command. For example how would I e-mail someone the file > /home/allan/test.tar.gz with one command line. > > If anyone could help me with this it would be greatly appreciated. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011100940240.74562-100000>