🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mh
Article #1991

Re: conversion from standard mail folders (files) to mh folders?

#1991
From: Vick Khera
Date: Tue, 27 Feb 1990 20:49
22 lines
1711 bytes
In article <1990Feb27.151340.19111@ux1.cso.uiuc.edu> garyf@mehlville.ncsa.uiuc.edu writes:
>Does anyone have a utility which will convert standard mail (saved) files
>to mh folders (I have a user who just started using mh, and doesn't want
>to have to inc them into his ~/Mail/inbox and re-file them - there are too
>many).  Anyway, obviously a shell script could be written to do this, but 
>I'd rather not re-invent the wheel.
>
>Gary Faulkner

according to the second sentence in the man page for inc, if no "+folder"
argument to inc is supplied, then it uses +inbox.  so if you use the
command "inc +bar -file bar.mbox" then the mbox file bar.mbox will be
incorporated into the mh folder bar.  to do a whole bunch of these files
would just require one for loop written in your choice of shell.  there is
no re-inventing of a wheel going on here, just some reading of the man
page.

								v.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vick Khera                              Department of Computer Science
ARPA:   khera@cs.duke.edu               Duke University
UUCP:   ..!{mcnc,decvax}!duke!khera     Durham, NC 27706
Technical Details
Message-ID: <17851@duke.cs.duke.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!uflorida!mephisto!mcnc!duke!juliet!khera
References: <1990Feb27.151340.19111@ux1.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!uflorida!mephisto!mcnc!duke!juliet!khera
From: khera@juliet.cs.duke.edu (Vick Khera)
Newsgroups: comp.mail.mh
Subject: Re: conversion from standard mail folders (files) to mh folders?
Keywords: folders /bin/mail
Message-ID: <17851@duke.cs.duke.edu>
Date: 27 Feb 90 20:49:06 GMT
References: <1990Feb27.151340.19111@ux1.cso.uiuc.edu>
Sender: news@duke.cs.duke.edu
Organization: Duke University CS Dept., Durham, NC 27706
Lines: 22