empty email

2001-04-17 Thread mjs
Im using the mail command to send me my some log files every week...but when i get the email, the files are not sent,..here is the command line i used: mail -s "weekly logs" < /root/weekly.log [EMAIL PROTECTED] am i missing something here?...why its the file not being sent with the email? any h

Re: empty email

2001-04-16 Thread Enrico Payne
This is great, I have been doing this for some years now, but recently discovered this: uuencode /root/weekly.log weekly_log.txt > /root/weekly_log ; mail -s "Weekly logs" [EMAIL PROTECTED] SUBJECT="Differences Found" VALUE1="Grep values from log file you want" VALUE2="Grep values from log file

Re: empty email

2001-04-16 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- rpjday wrote: >just as a philosophical comment, the first way is of course the >preferred way. as more than one unix book has pointed out, >whenever you see a "pipeline" of the form: > > $ cat (file) | cmd ... > >you can almost always rewrite it as: > > $ cm

Re: empty email

2001-04-16 Thread rpjday
On Mon, 16 Apr 2001, Michael R. Jinks wrote: > I think you want > > mail -s "weekly logs" [EMAIL PROTECTED] < /root/weekly.log > > ...either that, or > > cat /root/weekly.log | mail -s "weekly logs" [EMAIL PROTECTED] just as a philosophical comment, the first way is of course the preferred way.

Re: empty email

2001-04-16 Thread Michael R. Jinks
I think you want mail -s "weekly logs" [EMAIL PROTECTED] < /root/weekly.log ...either that, or cat /root/weekly.log | mail -s "weekly logs" [EMAIL PROTECTED] HTH, -m digitalfrontier wrote: > > Im using the mail command to send me my some log files every week...but when > i get the email, the

Re: empty email

2001-04-16 Thread Hal Burgiss
On Mon, Apr 16, 2001 at 10:32:27AM -0400, digitalfrontier wrote: > Im using the mail command to send me my some log files every week...but when > i get the email, the files are not sent,..here is the command line i used: > > mail -s "weekly logs" < /root/weekly.log [EMAIL PROTECTED] > > am i mis

empty email

2001-04-16 Thread digitalfrontier
Im using the mail command to send me my some log files every week...but when i get the email, the files are not sent,..here is the command line i used: mail -s "weekly logs" < /root/weekly.log [EMAIL PROTECTED] am i missing something here?...why its the file not being sent with the email? any h