Michael Mayer ([EMAIL PROTECTED]) wrote:
>
>On Mon, Mar 08, 2004 at 22:46:21 -0800, Matt Zimmerman wrote:
>> Is something so trivial worth packaging?  It sounds like it doesn't do
>> anything that dd doesn't.
>
>Oh, yes, it is worth it! In fact, some month ago I wrote a tool like this
>for my personal use to cut movie files which are slightly to big to fit on a
>CD.
>
>And yes, you can do something like this with dd, but dd always copies the
>file using the supplied blocksize. So you have to copy 700MB in chunks of
>2kB each just to trunc the trailing few kB: Keeps your HDD busy for a long
>time and is very annoying.

Not if you read the man page:
dd if=/dev/null of=totruncate bs=1 seek=positiontotruncate

Cheers

T.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to