<<< Date Index >>>     <<< Thread Index >>>

Re: attach multiple files from command line



Re: Hein Zelle 2007-03-20 <20070320122350.GA25320@xxxxxxxxxxxxxxxx>
> 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
-- 
cb@xxxxxxxx | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature