using wildcards in mailboxes

2002-01-10 Thread Maciej Kalisiak

Is it possible to use wildcards in the mailboxes command? I have
procmail spool all my mailing list mail to various folders in
~/mail/lists, and was hoping I could do

  mailboxes ! =lists/*

but unfortunately that doesn't seem to work; only the main spool file
shows up in the list of mailboxes.

-- 
Maciej Kalisiak [EMAIL PROTECTED] www.dgp.toronto.edu/~mac



Re: using wildcards in mailboxes

2002-01-10 Thread Dan Boger

On Thu, Jan 10, 2002 at 10:01:09AM -0500, Maciej Kalisiak wrote:
 Is it possible to use wildcards in the mailboxes command? I have
 procmail spool all my mailing list mail to various folders in
 ~/mail/lists, and was hoping I could do
 
   mailboxes ! =lists/*
 
 but unfortunately that doesn't seem to work; only the main spool file
 shows up in the list of mailboxes.

try

mailboxes ! `echo /path/to/your/folders/lists/*`

:)

-- 
Dan Boger
Linux MVP
brainbench.com




msg22785/pgp0.pgp
Description: PGP signature


Re: using wildcards in mailboxes

2002-01-10 Thread David T-G

Maciej --

...and then Maciej Kalisiak said...
% 
% Is it possible to use wildcards in the mailboxes command? I have

If you want to use wildcards, you can only use shell-level shortcuts.
The shell does not know what '=' means, so the command fails.  Now, if
you had a symlink called =lists in your home dir (where you presumably
start mutt) and had it pointing to $HOME/Mail/lists (or wherever =lists
points in a mutt context), then it should work just fine...  Similarly,
you could start mutt in your $HOME/Mail dir and leave off the =, or
create a symlink = that points to the current directory, for another way
to get around it.

Most people just change the mailboxes line to something the shell can
parse :-)


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg22818/pgp0.pgp
Description: PGP signature