Date: Wed, 08 Aug 2001 20:06:53 -0500 From: jacks@sage-american.com To: Brendan McAlpine <bmcalpine@macconnect.com>, freebsd-questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Scripting question Message-ID: <3.0.5.32.20010808200653.010b6460@mail.sage-american.com> In-Reply-To: <B797592E.2BDEE%bmcalpine@macconnect.com> References: <1557596443.20010808173718@dsl-only.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Here's one way: # mail -s "A subject" you@your.net < yourfile At 09:01 PM 8.8.2001 -0400, Brendan McAlpine wrote: >Hey all > >I am trying to cobble together a script that emails me a file. How would I >write this in a one line shell script command? I am using the mail command. >I can get the shell to open a new mail message, but I can't get it to put >the contents of the file in the email and send it off to me. Any help would >be appreciated. > >TIA > >Brendan > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > Best regards, Jack L. Stone, Server Admin Sage-American http://www.sage-american.com jacks@sage-american.com 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?3.0.5.32.20010808200653.010b6460>