This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: cygwin-email utility clipping attached zips
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 10 Jan 2007 16:46:16 -0000
- Subject: RE: cygwin-email utility clipping attached zips
On 10 January 2007 16:03, Joey Officer wrote:
> I'm using it send attachments, but I would like to be able to send
> multiple attachments using a wildcard expression. Unfortunately when I
> specify something like *.pdf , it only grabs the first PDF file within
> the directory.
>
> my sample command line is something along the following:
>
> $ email.exe user@domain.com -s testing -a *.pdf < body.txt
>
> This grabs files1.pdf but not files2.pdf or any other file.
>
> Is anyone using email.exe to send multiple 'unknown' attachments?
You need a '-a' before /each/ of the filenames to attach. Otherwise it'll
think they're recipient names.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/