uuencode/mailx

Hi all,

I know how to use the uuencode/mailx commands to mail a single file within a directory, e.g.

uuencode file.dat file.dat | mailx joe.smith@mail.com

but now, i need to be able to mail every file within the directory with one command, any ideas?

thanks

:b:

take a look at this thread:

http://www.unix.com/shell-programming-scripting/38143-sending-email-more-than-one-files.html