Splitting a file into different size chunks
dfox94085 at gmail.com
Tue Mar 31 15:06:17 UTC 2009
2009/3/31 Oliver Marshall <oliver.marshall at g2support.com>:
> Hi chaps,
> I need to split a file in to pieces, but not all of the same size. I have a
> 20mb file, and I need to split the first 2MB in to one file, then the
> following 4MB in to another file, then the next 1MB in to another file, and
> discard the rest.
Seems that dd(1) could do that - using seek/skip and count operands.
thanks for letting me change the magnetic patterns on your hard disk.
More information about the ubuntu-users