cygwin-email utility clipping attached zips

Joey Officer jofficer@wi.rr.com
Wed Jan 10 16:07:00 GMT 2007


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?

zzapper wrote:
> zzapper <david@tvis.co.uk> wrote in
> news:Xns988D83F0B97E3zzappergmailcom@80.91.229.5: 
> 
>> Hi
>> I'm using the following to send attachments from the cli, works fine
>> except for word Docs etc but zip files loose a few bytes
>>
>> eg
>>
>> -rwxr-xr-x  1 davidr None 161792 Dec  2 12:47 ../aaa/am4mar.doc 
>> (RECEIVED) -rwxrwxrwx+ 1 davidr None 161792 Feb 14  2006 am4mar.doc
>> (SENT) 
>>
>> -rwxr-xr-x  1 davidr None 596312 Dec  2 12:44 ../aaa/xnews.ZIP  
>> (RECEIVED FILE BAD)
>> -rwxrwxrwx+ 1 davidr None 596319 Dec  1 17:48 xnews.ZIP  (SENT FILE)
>>
>> email -b -n "DJR BACKUP" -f test@test.com -s "BACKUP: " test@test.com
>> -- attach xnews.zip
>>
> 
> Is anyone else using the email utility to send attachments, successfully or 
> otherwise?
> 
> 
> 

--
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/



More information about the Cygwin mailing list