recursion [was: "error" message]
Rodney D. Myers
rdmyers at MtPalomar.net
Sun Nov 14 06:25:44 CET 2004
On Fri, 12 Nov 2004 14:52:12 -0500
David Relson <relson at osagesoftware.com> wrote:
> Bogofilter knows about individual message files, mailbox formatted
> files, and several kinds of mail directories, but doesn't know about
> recursion. So, it can't do what you want, without a bit of help.
>
> '-B' indicates names (file and/or directory) will be on the command
> line'-b' indicates stdin as the source
>
> Assuming you want just yearly directories, i.e. 200?$, something like
> the following should do what you want:
>
> find ~/Mail -type d | grep "200?$" | bogofilter -v -b
As I sent in the other emil, not just the yearly directories, but
/home/rodney/Mail/old-archives/anti-m$/2001/
/home/rodney/Mail/old-archives/anti-m$/2002/
/home/rodney/Mail/old-archives/anti-m$/2003/
/home/rodney/Mail/old-archives/anti-m$/2004/
/home/rodney/Mail/old-archives/arrl-letter/2001/
/home/rodney/Mail/old-archives/arrl-letter/2002/
/home/rodney/Mail/old-archives/arrl-letter/2003/
/home/rodney/Mail/old-archives/arrl-letter/2004/
/home/rodney/Mail/old-archives/arrl-other/2001/
/home/rodney/Mail/old-archives/arrl-other/2002/
/home/rodney/Mail/old-archives/arrl-other/2003/
--
Rodney D. Myers <rdmyers at MtPalomar.net>
Registered Linux User #96112
ICQ#: AIM#: YAHOO:
18002350 mailman452 mailman42_5
They that can give up essential liberty to obtain a
little temporary safety deserve neither liberty nor safety.
Ben Franklin - 1759
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://www.bogofilter.org/pipermail/bogofilter/attachments/20041113/7059a636/attachment.sig>
More information about the Bogofilter
mailing list