Sorry for the trouble, I acutally dont know how to send a pm to another user. I wanted to let pmcmicha know that I was waiting for his reply on following thread or if any of you unix guru could help me out..
forum link thread822-603622
Hi pmcmicha
Do you think some thing like this would work an attachment and emailing to xxx email address
#!/bin/sh
#scp root@domain.com:/tmp/filetoemail.txt
if [ -e /tmp/filetoemail.txtname.txt ];
then
uuencode /tmp/filetoemail.txt attached.txt | mail -s "Your file is attached"...
Thanks pmcmicha for the quick response. I deeply apologize for the last appreciation. Was out of office for a vacation, returned today itself. Your script is working absolutely fine and all I need to do now is to figure out the email stuff. Thanks again. If i have any question I will reply on...
Hi pmcmicha,
First of all, Many Thanks to you for the prompt reply. The script which u gave will tar the entire folder, right ? I want is given by an example x/x/x folder contains 100 files, one new file being created everyday, I wanted only all files before previous weeks to be zip in files...
I am totally new with scripting, would appreciate any of your help/suggestions.. Wanna write a script which runs every monday and which copys previous weeks files from a folder and zips into one file and email it an email address. I could figure out the email part, but was confused how to do the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.