05-25-2007
afaik thats not possible, you need to tar the files before sending
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have an Solaris 8 machine running a managment application. One of the features of this application is to configure alarm forwarding to an email undress.
When i configured the application to do that, it asked me only about the recipient email address.
Quesiton: how to configure my Solaris 8... (7 Replies)
Discussion started by: bcheaib
7 Replies
2. Shell Programming and Scripting
Hi Everyone,
I'm using the uuencode command with the mail command to send out emails through a UNIX script. The problems is that i have a number of gif files that i need to attach to a single email but the number and name of the gif files is not static. Example today the folder home/Desktop may... (4 Replies)
Discussion started by: nbvcxzdz
4 Replies
3. UNIX for Dummies Questions & Answers
hi,
is there any possiblity to send email from the command prompt,
for eg
i want to send alert to any mail id
like /data/logs is 80% to my hotmail account , xxx@hotmail.com
is this really possible,,
if not, then what are the prerequistes need to do this (1 Reply)
Discussion started by: vasikaran
1 Replies
4. Shell Programming and Scripting
Hi All,
I am currently using the following script to send the single file to one/more email addresses. I need to send mutilple files at same time, are there anyway I could modify the script or write new one to accomplish the same.
Script
***************
#!/bin/ksh
# Author: Manish... (4 Replies)
Discussion started by: lapisguy
4 Replies
5. UNIX and Linux Applications
Hi friends
I have syslog-ng installed in RHEL5 server, I make it as CEntral log for all servers in my network, Filtered by IP
Now What I want to do is make it send to me an email for a specific log for one of my server, In other word when any log sent from this IP (192.168.1.1 ) For... (4 Replies)
Discussion started by: reaky
4 Replies
6. HP-UX
Hi,
I am executing the following command in order to send a file as an attachment:
mailx -s "Subject" emailID@xyz.com < Testfile.txt
Instead of attaching the file Testfile.txt, it is writing the contents of the file in the email message body. Please advise on how I can send the file as an... (7 Replies)
Discussion started by: sangharsh
7 Replies
7. Linux
I have used an already-built ActiveX control to send email from my asp web pages. One of the parameters I fill is FromName which defines the tittle the recipient will see in the From entrance in his Inbox.
Now Iīm trying to use mail to send an email from a Shell but I havenīt found the... (1 Reply)
Discussion started by: RandomAccess
1 Replies
8. Shell Programming and Scripting
Hello,,
I am loading data into the 4 tables from 4 different input files.
The data gets loaded, and the e-mail is also sent to the user, but the log files for all the 4 files is not been sent..
I am trying to send e-mail to users with the log file as attachment.
The script is as follows:... (30 Replies)
Discussion started by: msrahman
30 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I need to zip 4 files and send an email attaching the zipped files...
Pls help..
Win
---------- Post updated at 10:49 AM ---------- Previous update was at 10:36 AM ----------
Hi,
I need to convert 4 text files into xls,zip these 4 files and send an email attaching the... (2 Replies)
Discussion started by: win4luv
2 Replies
10. Shell Programming and Scripting
This is my first time writing a script and Im having some trouble,
Im trying to use the top command to monitor processes and the amount of CPU usage they require, my aim is to get an email if a process takes over a certain percentage of CPU usage
I tried grep
Obviosly that hasnt worked,
Any... (8 Replies)
Discussion started by: jay02
8 Replies
LEARN ABOUT CENTOS
tar_extract_glob
tar_extract_all(3) C Library Calls tar_extract_all(3)
NAME
tar_extract_all, tar_extract_glob, tar_append_tree - high-level tar archive manipulation functions
SYNOPSIS
#include <libtar.h>
int tar_extract_all(TAR *t, char *prefix);
int tar_extract_glob(TAR *t, char *globname, char *prefix);
int tar_append_tree(TAR *t, char *realdir, char *savedir);
VERSION
This man page documents version 1.2 of libtar.
DESCRIPTION
The tar_extract_all() function extracts all files from the tar archive associated with the TAR handle t into the path named by the prefix
argument.
The tar_extract_glob() function extracts all files matching the given glob pattern from the tar archive associated with the TAR handle t
into the path named by the prefix argument.
The tar_append_tree() function appends all files from the directory tree named by realdir to the tar archive associated with the TAR handle
t. The pathnames stored in the tar archive are modified by replacing realdir with savedir, so that the files will be extracted into
savedir.
RETURN VALUES
On successful completion, these functions will return 0. On failure, they will return -1 and set errno to an appropriate value.
ERRORS
These functions will fail under the same conditions that the tar_skip_regfile(), tar_extract_regfile(), opendir(), lstat(), or
tar_append_file() functions fail.
SEE ALSO
opendir(2), lstat(2), tar_skip_regfile(3), tar_extract_regfile(3), tar_append_file(3)
University of Illinois Jan 2001 tar_extract_all(3)