>>>>> "ab" == a b <testa...@gmail.com> writes:

  ab> I need to truncate last few bytes of file. these files are big in size.

  ab> One idea is to write needed bytes to another file and delete the original
  ab> file, but i am dealing with big files :(

  ab> dont want to use truncate, it just truncating the size, all data
  ab> is gone

that doesn't make any sense. you want to truncate but not truncate??

do you want the size to remain the same but become null bytes? if so
that isn't truncating but overwriting. clarify your actual needs so we
can help here.

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to