Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!wuarchive!sdd.hp.com!ucsd!ucbvax!ORA.ORA.COM!jerry From: jerry@ORA.ORA.COM (Jerry Peek) Newsgroups: comp.mail.mh Subject: Re: Refiling deleted messages into archive folder Message-ID: <9101241743.AA01997@sunspot.acs.syr.edu> Date: 24 Jan 91 17:43:49 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: jerry@ora.ora.COM Organization: The Internet Lines: 23 Jeff Honig wrote about a shell script of his: > ...Note that I > use mv instead of refile because I belive it will improve performance. I had a shell script that did the same thing. I set the script in my MH profile as the "rmmproc:". Around the same time, I noticed that my sequences were getting screwed up. I didn't figure it out for a while... I realized that the "refile" command will update your sequences... but "mv" doesn't. So if you use any sequences, you'll probably want to use refile instead of mv. One problem with refile, though, is that it changes the current message. With the default rmm, you can remove any messages and not change the current message... but once you make it use "refile", then "rmm" *will* change the current message. The Nutshell Handbook on MH (and the archives I just posted to comp.sources.misc) have a script called "rmmer" that I use. It gets around both of those problems. It's a big hairy script, though, and I'd be glad to hear from people who can think of better ways. --Jerry Peek, jerry@ora.com