This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]