sending dir through script

Hi All,

I need some help.
How to send a direcory to multiple mail ids in unix shell script..

Please suggest,

thank you

Regardsm
Raghu

  1. You cannot send directories, you need to tar & send.

  2. In perl, you have Mail::Send, Net::Smtp and so on. In unix, if you have the command, then use it -- mail command.

  3. Multiple mail ids, you will be able to send in all the commands, -- it is normal.