Re: how to mail an attachment from linux shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tar -czvf dir.tar.gz dir ; pine <user> -attach dir.tar.gz

Nitin wrote:

u dont understand, to mail isn't a problem, but how to compress the
directory and mail it in a single statement?

----- Original Message ----- From: "Greg Bradner" <gregb@xxxxxxxxxx>
To: <redhat-list@xxxxxxxxxx>
Sent: Friday, December 05, 2003 10:02 PM
Subject: Re: how to mail an attachment from linux shell





You could use pine from the command line with the -attach <file> option.


Nitin wrote:




Hi all,

I've another problem, how can do it.....what I want is

compress one directory and mail it as an attachment from within single
command running through cron

Thanx in advance
Nitin


--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rhythm & Hues
5404 Jandy Place
Los Angeles, CA 90066
Voice: 310 448-7763
Fax:   310 448-7600
gregb@xxxxxxxxxx



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list









--


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rhythm & Hues
5404 Jandy Place
Los Angeles, CA 90066
Voice: 310 448-7763
Fax:   310 448-7600
gregb@xxxxxxxxxx



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux