On 8/26/07, Andrew Lentvorski <[EMAIL PROTECTED]> wrote:
> Is there a quick way to remove the last 10 bytes from a big honking file?

head --bytes=-10 source.file > destination.file

As for "quick", on an 800M file the above took me:

real    1m1.363s
user    0m0.228s
sys     0m7.472s

-todd


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to