Lets say you have a 650meg ISO file you want to split up into 100meg
chunks.. Your file name is "linuxrocks.iso".. do this:
split -b 100000000 linuxrocks.iso linuxiso
This will create files named linuxisoaa, linuxisoab, linuxisoac,
linuxisoad, linuxisoae, linuxisoaf, linuxisoag.. each 95meg except for
the last one which just pickes up the remaining bytes.. Remember that
100,000,000 bytes doesn't quite equal 100meg. To put them back together
use:
cat linuxisoaa >> linuxrocks.iso
cat linuxisoab >> linuxrocks.iso
cat linuxisoac >> linuxrocks.iso
cat linuxisoad >> linuxrocks.iso
cat linuxisoae >> linuxrocks.iso
cat linuxisoaf >> linuxrocks.iso
cat linuxisoag >> linuxrocks.iso
depending on how many files you want to recombine it would be handy to
have a script to take care of that but I still haven't made the time to
write one yet.. It' not like I need to do this everyday.. Or deal with
that many files.. :-)
Don
On Mon, 4 Dec 2000, Justin Wilson wrote:
> Can you help me out?
>
> How are you splitting your files, I am in need of away to take a large plain
> text database report and break it up into small pieces.
>
> -Justin Wilson
> Lab Express Inc.
> justin@labxpress.com
>