Yeah I think so...

On Fri, 2003-10-31 at 14:58, Kevin Anderson wrote:
> Could you just use cat?
> 
> cat TailOfOriginalFile >> EditedHeadOfFirstFile
> 
> Kev.
> 
> 
> ----- Original Message ----- 
> From: "J. Rafael Sanchez" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, October 31, 2003 3:21 PM
> Subject: (clug-talk) 'dd' on linux question...
> 
> 
> > Hey guys,
> > 
> > I have a huge file that needs to be edited using a hex editor. Right now
> > i'm using khexedit. The only problem is that this is a multiuser
> > environmnet and every time the file is loaded it uses 80 to 90% of
> > memory. It loads the "whole" file into memory. Everyone else's processes
> > suffer because of it.
> > 
> > The section of the file that needs to be edited is the first 2k. To
> > extract this section and read it into the editor, make the changes is
> > not a problem. The challenge comes in now that I want to put it back at
> > the begining of the file.
> > 
> > to extract,
> > $ dd if=pathtoverybigfile of=pathtosectionoffile bs=2k count=1
> > 
> > How to reverse this so that a put the changed section back into the orig
> > file?
> > 
> > Thanks guys.
> > 
> > Rafael.
> > 
> > 
> > 

Reply via email to