Re: attach multiple files from command line
FWIW, if somebody can come up with a decent command line interface
for attachig multiple files, that would be a rather valuable
contribution.
--
Thomas Roessler <roessler@xxxxxxxxxxxxxxxxxx>
On 2007-03-20 13:33:34 +0100, Christoph Berg wrote:
> From: Christoph Berg <cb@xxxxxxxx>
> To: mutt-users@xxxxxxxx
> Date: Tue, 20 Mar 2007 13:33:34 +0100
> Subject: Re: attach multiple files from command line
> X-Spam-Level:
> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.5
>
> 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/