Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2007 17:23:43 +0100
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: oflag option in GNU dd - equivalent in FreeBSD dd ?
Message-ID:  <20071023172343.56ea5a9b@gumby.homeunix.com.>
In-Reply-To: <20071023164246.13be9d63@attila>
References:  <398795.23954.qm@web45616.mail.sp1.yahoo.com> <20071023164246.13be9d63@attila>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 23 Oct 2007 16:42:46 +0330
"Bahman M." <b.movaqar@adempiere.org> wrote:

> On 2007-10-22 Juri Mianovich wrote:
> > I am used to using this command in Linux, using GNU
> > dd:
> > 
> > dd if=/blah of=/bleh oflag=append conv=notrunc
> > 
> > The problem is, FreeBSD 'dd' does not understand the
> > "oflag" argument.
> > 
> > Is there some equivalent in the FreeBSD 'dd' syntax
> > that I can use, or am I forced to install GNU utils ?
> > 
> dd if=/blah of=/bleh conv=notrunc seek=`ls -s /bleh | cut -f1 -d ' '
> -`
> 
> I don't know if any simpler way is possible (anyone?).
> 

is it any different to 

dd if=/blah >> /bleh 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071023172343.56ea5a9b>