Editing extremely large files, too large for memory?
I'd like to edit the beginning and end of some very large files. These files are .sql dump files, many gigs in size (some 5GB-10GB), larger than even the RAM of the machine.
Currently I'm trying to use pico (via SSH), but that doesn't really work - either it loads the file after many minutes, with slow editing; or it never seems to load the file at all. It also takes up all my machine's resources.
How would I go about editing just the start and end of these files, without trying to load the whole file? Is there an editing command that would allow me to begin editing at the end?
|