Re: cutting mail spool

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
To: Main PLUG discussion list
Subject: Re: cutting mail spool
On Fri, 29 Jul 2005, Craig White wrote:

> I need to cut a users mail spool file down that now is 2.0G and mail box
> isn't working.
>
> I backed up her mail spool and emptied it out and now need a way to
> edit/cut it down - emacs won't open it because it exhausts the buffer.
>
> What's a simple command to say split the thing in half?


dd if=big.mailbox of=new.file bs=1048576 count=1000

Then for the other part use something like:

dd if=big.mailbox of=other.part bs=1048576 seek=1000

Then edit as needed.

Jeremy C. Reed

                  BSD News, BSD tutorials, BSD links
                 http://www.bsdnewsletter.com/
---------------------------------------------------
PLUG-discuss mailing list - 
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss