cutting mail spool

Josef Lowder joe at actionline.com
Fri Jul 29 11:39:28 MST 2005


FWIW:  Here's a shell script (notice the date 1988) that I've used 
to split files in half. 

--------------------------------------------
:
# @(#) spl - v1.0 - 02/24/88 - Splits a file in half.
# Usage: spl filename

file=$1
set `wc $1`
half=`expr $1 \/ 2 + 1`
split -$half $file $file

----------------------------------------------
On Friday 29 July 2005 11:01, you 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?



More information about the PLUG-discuss mailing list