03-16-2011
Zipping files and sending email
I am on SunOS v 5.8...
I believe uuencode can be used to convert text file into a CSV file right?
I need to convert 4 txt files into CSV files , Zip them and send email
10 More Discussions You Might Find Interesting
1. 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
2. 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
3. Shell Programming and Scripting
Hi,
I would like to send an email with more than one attachement. I am using uuencode. I want to achive by suing uuencode. Also please let me know other ways.
-Thambi (7 Replies)
Discussion started by: thambi
7 Replies
4. UNIX for Dummies Questions & Answers
how would i zip a file?
what does zip mean? (4 Replies)
Discussion started by: trob
4 Replies
5. 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
6. 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
7. Shell Programming and Scripting
Hi,
I have come across a requirement in which I need to zip files. This is fine but the requriement has one conditions like below:
One .z file can not have more than 10,000 files
Now in the directory I have several files liek below:
aaa_file_10_00001.txt
aaa_file_10_00002.txt... (6 Replies)
Discussion started by: angshuman
6 Replies
8. 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
9. UNIX for Dummies Questions & Answers
Hi All,
I have a scenario where in am using uuencode to send a txt file as an excel to end users( email attachment).I have 7 different files and these files are sent as emails 7 times...
So my question is, can i not zip all the 7 files at once and attach those files in a single... (9 Replies)
Discussion started by: saggiboy10
9 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I am trying to removing the old files which were older than 10 days and same g zipping the files using the shell script.
script was return as follows.
find /jboss7_homes/JBOSS7/SKYLIV??/SKYLIV??_CRM/jboss-eap-7.0/standalone/log -mtime +10 -type f | xargs rm -f
find /cer_skyliv??/log... (6 Replies)
Discussion started by: venkat918
6 Replies
LEARN ABOUT DEBIAN
bon_csv2html
bon_csv2html(1) General Commands Manual bon_csv2html(1)
NAME
bon_csv2html program to convert CSV format Bonnie++ data to a HTML form using tables suitable for display on a web page. NB Lynx can't dis-
play this properly, and due to the size it probably requires 1024x768 monitor to display properly.
bon_csv2txt program to convert CSV format Bonnie++ data to plain-text format suitable for pasting into an email or reading on a Braille
display.
DESCRIPTION
They take CSV format (comma-delimited spreadsheet files AKA Comma Seperated Values in MS land) data on standard input and produce HTML or
plain text on standard output respectively.
FORMAT
This is a list of the fields used in the CSV files format version 2. Format version 1 was the type used in Bonnie++ < 1.90. Before each
field I list the field number as well as the name given in the heading
0 format_version
Version of the output format in use (1.96)
1 bonnie_version
(1.96)
2 name Machine Name
3 concurrency
The number of copies of each operation to be run at the same time
4 seed Random number seed
5 file_size
Size in megs for the IO tests
6 chunk_size
Size of chunks in bytes
7 putc,putc_cpu
Results for writing a character at a time K/s,%CPU
9 put_block,put_block_cpu
Results for writing a block at a time K/s,%CPU
11 rewrite,rewrite_cpu
Results for reading and re-writing a block at a time K/s,%CPU
13 getc,getc_cpu
Results for reading a character at a time K/s,%CPU
15 get_block,get_block_cpu
Results for reading a block at a time K/s,%CPU
17 seeks,seeks_cpu
Results for the seek test seeks/s,%CPU
19 num_files
Number of files for file-creation tests (units of 1024 files)
20 max_size
The maximum size of files for file-creation tests. Or the type of files for links.
21 min_size
The minimum size of files for file-creation tests.
22 num_dirs
The number of directories for creation of files in multiple directories.
23 file_chunk_size
The size of blocks for writing multiple files.
24 seq_create,seq_create_cpu
Rate of creating files sequentially files/s,%CPU
26 seq_stat,seq_stat_cpu
Rate of reading/stating files sequentially files/s,%CPU
28 seq_del,seq_del_cpu
Rate of deleting files sequentially files/s,%CPU
30 ran_create,ran_create_cpu
Rate of creating files in random order files/s,%CPU
32 ran_stat,ran_stat_cpu
Rate of deleting files in random order files/s,%CPU
34 ran_del,ran_del_cpu
Rate of deleting files in random order files/s,%CPU
36 putc_latency,put_block_latency,rewrite_latency
Latency (maximum amount of time for a single operation) for putc, put_block, and reqrite
39 getc_latency,get_block_latency,seeks_latency
Latency for getc, get_block, and seeks
42 seq_create_latency,seq_stat_latency,seq_del_latency
Latency for seq_create, seq_stat, and seq_del
45 ran_create_latency,ran_stat_latency,ran_del_latency
Latency for ran_create, ran_stat, and ran_del
A string that starts with '#' is a comment.
AUTHOR
These programs were written by Russell Coker <russell@coker.com.au>. May be freely used and distributed without restriction.
bon_csv2html(1)