attach multiple files from command line

2007-03-20 Thread Hein Zelle
Dear Mutt users, is there an easy way to attach multiple files to a message, from the commandline, using a wildcard? I start mutt from the commandline a lot, like so mutt -a weekly_report.txt peter which works fine. I'd also like to do the following: mutt -a *.png peter however that doesn't

Re: attach multiple files from command line

2007-03-20 Thread Christoph Berg
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

Re: attach multiple files from command line

2007-03-20 Thread Thomas Roessler
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 <[EMAIL PROTECTED]> On 2007-03-20 13:33:34 +0100, Christoph Berg wrote: > From: Christoph Berg <[EMAIL PROTECTED]> > To: mutt-use

Re: attach multiple files from command line

2007-03-20 Thread Charles Cazabon
Thomas Roessler <[EMAIL PROTECTED]> wrote: > FWIW, if somebody can come up with a decent command line interface > for attachig multiple files, that would be a rather valuable > contribution. -j 'glob_pattern' Mutt automatically attaches any file in the CWD that matches the glob, i.e. mutt -j

Re: attach multiple files from command line

2007-03-20 Thread Christoph Berg
Re: Charles Cazabon 2007-03-20 <[EMAIL PROTECTED]> > Mutt automatically attaches any file in the CWD that matches the glob, i.e. > > mutt -j '*.png' ... Or make that -a, stat() the file first, and if not there, try to expand the pattern. Christoph -- [EMAIL PROTECTED] | http://www.df7cb.de/

Re: attach multiple files from command line

2007-03-20 Thread Rocco Rutte
Hi, * Christoph Berg [07-03-20 15:10:32 +0100] wrote: Re: Charles Cazabon 2007-03-20 <[EMAIL PROTECTED]> Mutt automatically attaches any file in the CWD that matches the glob, i.e. mutt -j '*.png' ... Or make that -a, stat() the file first, and if not there, try to expand the pattern.

Re: attach multiple files from command line

2007-03-20 Thread Thomas Roessler
On 2007-03-20 14:32:05 +, Rocco Rutte wrote: > Does getopt() prevent us from allowing any number of additional > arguments for -j? If you ask me, globbing is a shell's > reposibility. agree -- Thomas Roessler <[EMAIL PROTECTED]>

Re: attach multiple files from command line

2007-03-20 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday, March 20 at 03:33 PM, quoth Thomas Roessler: > On 2007-03-20 14:32:05 +, Rocco Rutte wrote: >> Does getopt() prevent us from allowing any number of additional >> arguments for -j? If you ask me, globbing is a shell's >> reposibility.

Re: attach multiple files from command line

2007-03-20 Thread Gary Johnson
On 2007-03-20, Kyle Wheeler <[EMAIL PROTECTED]> wrote: > On Tuesday, March 20 at 03:33 PM, quoth Thomas Roessler: > > On 2007-03-20 14:32:05 +, Rocco Rutte wrote: > >> Does getopt() prevent us from allowing any number of additional > >> arguments for -j? If you ask me, globbing is a shell's >

Advice on query_command technique.

2007-03-20 Thread Ray Van Dolson
Hi all, I am a mutt user trying to happily co-exist in an Exchange environment. For the most part all is well. I wrote a small Python program to act as my query_command to look up addresses via AD (LDAP) so I could have access to the company address book. The problem is that Distribution Groups

Re: Advice on query_command technique.

2007-03-20 Thread Thomas Roessler
Frankly, the right solution is to make this distribution group addressable through SMTP. -- Thomas Roessler <[EMAIL PROTECTED]> On 2007-03-20 16:53:36 -0700, Ray Van Dolson wrote: > From: Ray Van Dolson <[EMAIL PROTECTED]> > To: mutt-users@mutt.org > Date: Tue, 20 Mar 2007 16:53:36 -0700 >

Re: Advice on query_command technique.

2007-03-20 Thread Ray Van Dolson
On Wed, Mar 21, 2007 at 12:57:28AM +0100, Thomas Roessler wrote: > Frankly, the right solution is to make this distribution group > addressable through SMTP. Agreed. There are some hoops to jump through however in order to make this happen in the meantime ... :) Ray