From owner-freebsd-questions Thu May 24 12: 1:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 0EB1F37B42C for ; Thu, 24 May 2001 12:01:52 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.11.3/8.11.3) id f4OJ1Ms20531; Thu, 24 May 2001 14:01:22 -0500 (CDT) (envelope-from dan) Date: Thu, 24 May 2001 14:01:22 -0500 From: Dan Nelson To: Odhiambo Washington Cc: FBSD-Q Subject: Re: Large mail file (3GB) Message-ID: <20010524140121.A28899@dan.emsphone.com> References: <20010524174437.D34049@everest.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: <20010524174437.D34049@everest.wananchi.com>; from "Odhiambo Washington" on Thu May 24 17:44:37 GMT 2001 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (May 24), Odhiambo Washington said: > I have a file that is 3GB in mbox format. I need to split it into 3 > parts then access it using elm, or even mutt. Is there a utility in > FreeBSD that can be used to truncate a file into some predetermined > parts? Do you mean a single message, or multiple messages in a single large mailbox? Just load mutt up on the 3gb mailbox. As long as you have less that 65000 messages mutt will be able to read it fine. If you want to split it up, just tag the first 1/3 of the messages, save them to "mbox1", tag the next third, save them as "mbox2", etc. > Sometimes in Winblows I use a small utility called MEGAFLI, but there > are others also. I cannot access this file using mutt because doing > that does brinf my system down to its knees..a pentium III 500MHz > with 128MB RAM... Hmm. Mutt shouldn't have any problems, unless you really have a huge number of messages. All mutt keeps in memory is a few headers per message. For example, my archive of the FreeBSD-Questions for this year has 24K messages and is 86MB in size, and mutt requires 23MB of ram to load it up in unsorted mode. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message