Try this, although it may not be the most efficent: % dd bs=1 cbs=1 count=<desired_size_in_bytes> if=the.file.you.have of=the.file.clipped
According to the dd manpage, bs=1 should force dd to read and write 1 byte at a time, and cbs=1 should force dd to convert 1 byte at a time.. To me this seems redundant; cbs=1 might not be necessary. Clearly I'm no expert on this; I'm just feeling chatty and I happen to be near my mailbox. :-) Okay, just tried it on a small test file, and it appears to work! HTH. Cheers, ~Brian -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
