On Tue, 24 Jun 2003 17:04, you wrote:
> Thanks, but both split and dd can only copy the first (or more) part(s) of
> a file to a new file. Copying the start of the file is trivial, but
> requires disk space and a lot of time. Truncating it in place is what I'm
> after.

man 2 truncate

System call, You'll have to write a trivial C program to call the kernel 
function. Surprisingly, nothing in man(1).

--
C. S.

Reply via email to