[Cialug] Efficiently removing the beginning of a file

Thomas Kula kula at tproa.net
Mon May 21 12:59:13 CDT 2007


On 5/21/07, Daniel A. Ramaley <daniel.ramaley at drake.edu> wrote:
> >that would be required), it seems to me that there should be a way to
> >do it that only takes ~2 seconds. What are some other command line ways
> >to do this that would be more efficient?

I did a little playing:

 dd if=test.file of=test.file2 bs=3158 seek=1

seems considerably faster than

 dd if=test.file of=test.file2 bs=1 seek=3158

[Note: I made the seek value up there, because I couldn't
remember the exact one in the e-mail.]

-- 
Thomas L. Kula | kula at tproa.net | http://kula.tproa.net/
Mathom House at Ypsi-Edge, The People's Republic of Ames


More information about the Cialug mailing list