[plug] Does anyone know of a utility to break up large files into smaller chunks?

David Buddrige david.buddrige at mitswa.com.au
Wed Feb 24 09:03:32 WST 1999


Thanks heaps to everyone for their suggestions - I wanted some way of
breaking up huge files into more manageable chunks... trying to get >
10mb files can be a real pain over the net... 8-)

I think I've got it sussed now... 8-)

cheers

David Buddrige... 8-)

Tom Atkinson wrote:
> 
> The most obvious utility, I would have thought, and are surprised that
> no-one else has suggested it, is:
> 
> dd
> 
> Use "dd" to split the file up, then "cat" to join up the sections later:
> 
> dd if=bigfile bs=1000 count=1 of=part.a
> dd if=bigfile bs=1000 count=1 skip=1 of=part.b
> dd if=bigfile bs=1000 count=1 skip=2 of=part.c
> dd if=bigfile bs=1000 count=1 skip=3 of=part.d
> 
> The above splits the file into blocks of 1000 bytes.  Join them back
> together thus:
> 
> cat part.? >bigfile
> 
> On Tue, 23 Feb 1999, David Buddrige wrote:
> >
> > I was wondering if anyone knew of a utility that will take a given
> > (large) file - such as a tar file or similar, and break it up into
> > equally sized chunks - and of course, append it back together again?


More information about the plug mailing list