Re: Splitting a file into different size chunks



2009/3/31 Oliver Marshall <oliver.marshall@xxxxxxxxxxxxx>:
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.

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages