how to mail multiple config files automatically

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mike Starke
Date:  
Subject: how to mail multiple config files automatically
Hmmm, how about:
cat f1 f2 f3 > f4; mail -s "three files" < f4


On Thu, Nov 21, 2002 at 12:08:16PM -0800, Scott H wrote:
/_A coupld of days ago, someone was helpful in
/_suggesting how I could use the mail command to
/_send text files via cron. (mail < textfile)
/_Simple enough. Now I'd like to combine a few
/_files and email them together in one email. For
/_instance, I have files: file1, file2, file3. I
/_want them to be put in order, like what comes out
/_of:
/_
/_cat file1 file2 file3
/_
/_But you can't use the syntax:
/_
/_mail < cat file1 file2 file3
/_
/_How do I write this? Tanks a million.
/_
/_Scott
/_
/_
/_.
/_
/___________________________________________________
/_Do you Yahoo!?
/_Yahoo! Mail Plus ? Powerful. Affordable. Sign up now.
/_http://mailplus.yahoo.com
/_---------------------------------------------------
/_PLUG-discuss mailing list -
/_To subscribe, unsubscribe, or to change you mail settings:
/_http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss