Mutt will help you here:

#>for each in `find . -name "*.jpg"`
>do
>mutt -a $each -s "your subject" to_address < /dev/null
>done

This will recursively go through the present working directory, and email
all jpgs as attachments to the email address replacing 'to_address'.  This
will send them one-by-one though.

Marco

> On Sat, 11 Nov 2000 [EMAIL PROTECTED] wrote:
>
> =>I neet to email a bunch of photos eack week to someone. Is there a way
to
> =>make a shell script that will look into a particular directory and email
> =>every *.jpg file it finds there as an attachment?




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to