In the last episode (Jun 26), Svein Halvor Halvorsen said:
> I have a ~70GB, of which the last ~50GB is garbage. I know exactly at
> what byte I want to cut the file, but I do not have enough free
> diskspace to do a
> 
>    dd if=orig of=pre bs=... count=....
> 
> 
> Is it possible to just chop off the end of a file, without making a
> copy of its beginning? It's a dv-file, resulting from "fwcontrol -R".
> I left my home and forgot about it. When I returned home, the disk
> was full, and now I need to delete the garbage. I know at exactly
> what byte to cut the stream.

Try the "truncate" command.

-- 
        Dan Nelson
        [EMAIL PROTECTED]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to