[WBEL-users] Tools to cut big files ?

Will Senn will_senn@comcast.net
Wed, 23 Jun 2004 14:02:21 -0500


>--- Jean LEE <jean_lee_3@hotmail.com> wrote:
>  
>
>>Hi,
>>
>>Does anybody knows a tool which is able to cut big
>>files.
>>
>>I would like to cut a 3 Gbytes file in 4 or 5 parts
>>(each of 700 Mb) in order to be able to burn it. 
>>
>>Thanks for any help.
>>
>>Jean
>>    
>>
Jean Lee,

I like dd:

dd if=infile of=outfile.00 bs=700M count=1 skip=0
dd if=infile of=outfile.01 bs=700M count=1 skip=1
dd if=infile of=outfile.02 bs=700M count=1 skip=2

until:
0+1 records in
0+1 records out

or until
0+0 records in
0+0 records out

in the case of a perfect fit (last file matches the bs).

-will