gmpassos has asked for the wisdom of the Perl Monks concerning the following question:
To grow the size is easy, just write some data to it. But how to reduce the size?! How can I open a file, that already exist, and just cut some data in the end without need to rewrite all of it?! Just imagine that the file can have 500Mb! I really can't rewrite it just to reduce the size.
Graciliano M. P.
"The creativity is the expression of the liberty".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Resize a File, without rewrite it!
by zengargoyle (Deacon) on Mar 10, 2003 at 20:17 UTC | |
by gmpassos (Priest) on Mar 10, 2003 at 23:38 UTC | |
|
Re: Resize a File, without rewrite it!
by Elian (Parson) on Mar 10, 2003 at 20:18 UTC |