Should I do this logic within the for loop .. Can I use a if statement inside the for loop .. How do I do that ..
This is what I need ..
for e in *
if not equal to file extension
then
do
unix2dos $e $e
uuencode $e $e
fi
done| mailx -s "$subject" $address
Thanks in Advance
Sridhar
Hello All,
I have script wherein I am sending an email with multiple attachments. If the the file is of .gz then I don't have to anything else I have to do a unix2dos .. How do I do this ..
Here is the script
charset=us-ascii;export charset
for e in *
do
unix2dos $e $e
uuencode $e $e
done|...
Hello,
How do I check the value of argument? If it is not null only then I need to pass this into my script ..
In a ftp script I have to put the datafile into a specific directory. If the directory is not given then it should put it in the common directory .. how do I this ..
{
id=$5
un=$6...
SamBones
If I want to pass (uuencode file1.txt file1.doc uuencode file2.txt file2.doc) in an argument how will I do it ..
for example my script will look like this ..
#!/usr/bin/ksh
arg1='uuencode file1.txt file1.doc; uuencode file2.txt file2.doc'
($arg1) |mailx -s 'Test' name@email.com...
appi
I did try gzip -9 filename.txt and When I ftp back to WINDOWS I am not able to view the file .. I see all funky characters ..
How do I resolve this ..
Thanks in advance ..
Hello,
I need to send as many files as attchments in a single email. I have used
(uuencode file1.txt file2.doc; uuencode file2.txt file2.doc) | mailx -s 'Test' name@email.com
Here I am passing the entire uuencode(whatever is in the bracket) as one string from a pl/sql program .. how do I do...
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.