Re: procmail recipe for backup

2000-06-22 Thread Mikko Hänninen
Vincent Danen <[EMAIL PROTECTED]> wrote on Thu, 22 Jun 2000: > Yeah, I changed it to backup/. instead of just backup... I guess the > first uses maildir and the second uses mh folders. I prefer maildir. > =) It's only a Maildir if (and only if) it's got the three subdirectories, cur, new, tmp i

Re: procmail recipe for backup

2000-06-22 Thread Vincent Danen
On Thu, Jun 22, 2000 at 06:16:07AM -0400, David T-G wrote: > % Sorry if this isn't the right place to post this but I'm sure I got > % this little code snippet from a mutt-related website... > % > % I've got this in my .procmailrc file: > % > % ## Nuke duplicate messages > ... > % ## Create bac

Re: procmail recipe for backup

2000-06-22 Thread Vincent Danen
On Thu, Jun 22, 2000 at 12:24:35PM +0300, Mikko Hänninen wrote: > > Hmmm... ok... backup was actually a mailbox file, so I deleted it > > and made a directory named backup and changed $PMDIR to > > $PMDIR/backup. > > As long as the first and second recipe both have the same expression, > and it

Re: procmail recipe for backup

2000-06-22 Thread David T-G
Vincent -- ...and then Vincent Danen said... % Sorry if this isn't the right place to post this but I'm sure I got % this little code snippet from a mutt-related website... % % I've got this in my .procmailrc file: % % ## Nuke duplicate messages ... % ## Create backup cache of 100 most recent m

Re: procmail recipe for backup

2000-06-22 Thread Mikko Hänninen
Vincent Danen <[EMAIL PROTECTED]> wrote on Thu, 22 Jun 2000: > Hmmm... ok... backup was actually a mailbox file, so I deleted it > and made a directory named backup and changed $PMDIR to > $PMDIR/backup. As long as the first and second recipe both have the same expression, and it points to a dir

Re: procmail recipe for backup

2000-06-22 Thread Aaron Schrab
At 09:56 +0300 22 Jun 2000, Mikko Hänninen <[EMAIL PROTECTED]> wrote: > Vincent Danen <[EMAIL PROTECTED]> wrote on Wed, 21 Jun 2000: > > :0 c > > backup > Finally, make sure that "backup" is a directory, fix that $PMDIR thing > (if it needs fixing), and it should work. The messages will be store

Re: procmail recipe for backup

2000-06-22 Thread Vincent Danen
On Thu, Jun 22, 2000 at 12:29:43PM +0530, Suresh Ramasubramanian wrote: > >No, I'm using the mbox format. Does this mean I can't do this then? > >Is there something similar to this for the mbox format? > > Hack together something out of grep, awk and sed :) Or look for 'grepmail' > on freshmea

Re: procmail recipe for backup

2000-06-22 Thread Vincent Danen
On Thu, Jun 22, 2000 at 09:56:38AM +0300, Mikko Hänninen wrote: > > ## Nuke duplicate messages > > :0 Wh: msgid.lock > > | formail -D 8192 msgid.cache > > > > ## Create backup cache of 100 most recent messages > > :0 c > > backup > > :0 ic > > | cd $PMDIR && rm -f dummy `ls -t msg.* | sed -e

Re: procmail recipe for backup

2000-06-22 Thread Suresh Ramasubramanian
Vincent Danen proclaimed on mutt-users that: >No, I'm using the mbox format. Does this mean I can't do this then? >Is there something similar to this for the mbox format? Hack together something out of grep, awk and sed :) Or look for 'grepmail' on freshmeat and pipe your procmail recipe to th

Re: procmail recipe for backup

2000-06-21 Thread Mikko Hänninen
Vincent Danen <[EMAIL PROTECTED]> wrote on Wed, 21 Jun 2000: > ## Nuke duplicate messages > :0 Wh: msgid.lock > | formail -D 8192 msgid.cache > > ## Create backup cache of 100 most recent messages > :0 c > backup > :0 ic > | cd $PMDIR && rm -f dummy `ls -t msg.* | sed -e 1,100d` That won't w

Re: procmail recipe for backup

2000-06-21 Thread Vincent Danen
On Thu, Jun 22, 2000 at 12:00:28PM +0530, Suresh Ramasubramanian wrote: > >## Create backup cache of 100 most recent messages > >:0 c > >backup > > :0 ic > > | cd $PMDIR && rm -f dummy `ls -t msg.* | sed -e 1,100d` > > > >But it doesn't seem to be working properly (the backup part). I've > >go

Re: procmail recipe for backup

2000-06-21 Thread Suresh Ramasubramanian
Vincent Danen proclaimed on mutt-users that: >## Create backup cache of 100 most recent messages >:0 c >backup > :0 ic > | cd $PMDIR && rm -f dummy `ls -t msg.* | sed -e 1,100d` > >But it doesn't seem to be working properly (the backup part). I've >got something like over 1000 messages in ther

procmail recipe for backup

2000-06-21 Thread Vincent Danen
Sorry if this isn't the right place to post this but I'm sure I got this little code snippet from a mutt-related website... I've got this in my .procmailrc file: ## Nuke duplicate messages :0 Wh: msgid.lock | formail -D 8192 msgid.cache ## Create backup cache of 100 most recent messages :0 c ba