mhonarc-users

Re: subdir based on months?

1997-05-16 15:10:19
:       The idea being that some of the large lists, if all messages were
: put into one directory,l would create one very large directory, but if it
: were posible to auto-sort it into a yy-mm subdirectory structure as the
: mail comes in, the directory structures would stay reasonable small, and
: responsive.

I use the following solution in my procmail recipe file.

#MhonArc commands
MHONARC='/users/asc/friedman/bin/mhonarc -thread -treverse -add -quiet -umask 
022 -idxfname index.html'

#MhonArc archive top level
MHHOME=/users/asc/friedman/www/archive

#Date in format 1997-04
DATE=`/usr/bin/date +19%y-%m`

:0
* ^TOBOOK_ARTS-L
{
  :0 c
  bookarts/$DATE/.

  :0
  |$MHONARC -rcfile $MHHOME/bookarts/$DATE/0-rcfile.html -outdir 
$MHHOME/bookarts/$DATE
}

--
Eric D. Friedman
friedman(_at_)uci(_dot_)edu

<Prev in Thread] Current Thread [Next in Thread>