You could get funky with zsh viz.

files=( _chile_2007_*{626..631}*jpg _chile_2007_*{643,766,769}*JPG 
some_textfile_if_you_like.txt ); 
mutt [EMAIL PROTECTED] {-a,$^files} -s "Fotos attached" 

Which is the zsh way to make an array and then interpolate the -a

Original Message Christoph Berg on Tue-20-Mar 07  1:33PM
.
> Re: Hein Zelle 2007-03-20 <[EMAIL PROTECTED]>
> > which gets cumbersome with 20+ files.  There's a good alternative
> > (attaching files from within mutt), but I was wondering if anyone has
> > solved this before.  Any clever shell scripts to add the -a option for
> > each of the filenames?
> 
> for f in *.png ; do a="$a -a $f" ; done
> mutt $a
> 
> or:
> 
> mutt `ls *.png | xargs -n1 echo -a`
> 
> Christoph
> -- 
> [EMAIL PROTECTED] | http://www.df7cb.de/

Reply via email to