10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I am looking for a help in designing a bash script on linux which can do below:-
1) Look in a specific directory for any new files
2) Mail the content of the new file
Appreciate any help
Regards
Neha (5 Replies)
Discussion started by: neha0785
5 Replies
2. Shell Programming and Scripting
Hi Team,
Please can anyone tell me how to call mail ids from different file in shell script.
For Example:
=========
export MAILX=/bin/mailx
export MAIL_DBA=xxx@gmail.com,yyy@gmail.com,zzz@gmail.com
sendalertmess()
{
MESSAGE="ALARM"
echo $MESSAGE | MAILX -s "uname -n :Oracle error"... (3 Replies)
Discussion started by: indira_s
3 Replies
3. Shell Programming and Scripting
Hi ,
Iam want to send the mail with attachment , iam using below in my script
uuencode /path/pathname/filename filename.csv | mailx -s "subject of mail" vinoth@xxx.com
when i trigger the script manually from command prompt i can get with the attachment but when i schedule it in crontab... (4 Replies)
Discussion started by: vinothsekark
4 Replies
4. Shell Programming and Scripting
Hi ,
I am trying to create shell script which will help me to compare file name in two folder.
There is a multiple file store in 2 folder.I want to compare that with the name.
If all the file are same then send a mail that "all date is same"
if not then create one log file which contain... (4 Replies)
Discussion started by: san_dy123
4 Replies
5. Shell Programming and Scripting
i wrote this code(( cat $REPORT_EMAIL;uuencode <$OUTFILE $OUTFILE ) | mailx -s "Auto Policy Attach Report Before batch job " $SUPPORT_EMAIL_GRP) in my shell script to attach afile
but in the mail i donot get a attachment
contais of the mail is
Auto Policy Attach Report Before batch job... (0 Replies)
Discussion started by: alokjyotibal
0 Replies
6. Shell Programming and Scripting
Hi,
In my script, i am using tar to combine 2 files, so that i can attach it to the mail.
everything is working fine and sending the mail successfully. But, when i save the file to desktop and unzip it.
a series of directories are there and finally those tar files are there.
i am using tar -cf... (1 Reply)
Discussion started by: javeed7
1 Replies
7. Shell Programming and Scripting
Hello,
I need to send with text in the body and 2 files as attachments using sendmail command.
i can send only one at a time either attachment or text in body of email.
Can any one please help me how to get that?
I will be great for any help.
Thanks,
Sparan (1 Reply)
Discussion started by: sparan_peddu
1 Replies
8. HP-UX
I am trying to attach a .xls file using uuencode in HP Unix
uuencode res1.xls res1.xls | mailx abc@xyz.com
But in the receiving end, I couldn't see the attachement, instead of it some encoded text is there in the body of mail
Can anybody suggest how to attach the files in HP Unix. I don't... (12 Replies)
Discussion started by: unipepper
12 Replies
9. Shell Programming and Scripting
Hi..
How can i use mailx,mail command in Shell Script.
Suppose i gave a condition that x value is above 25 send a mail alert to abc@rediffmail.com.
How can i do this?
Regards
Sollin (16 Replies)
Discussion started by: sollin
16 Replies
10. Shell Programming and Scripting
i wanted to write a shell script that can automatically read unread mails and copy each one into a different file. I was trying to use the MAIL command to do it, but this command requires user input inbetween, I was wondering how that could be achieved in a shell script.
Can sumone please suggest... (0 Replies)
Discussion started by: garric
0 Replies