oflag option in GNU dd - equivalent in FreeBSD dd ?

Bahman M. b.movaqar at adempiere.org
Tue Oct 23 06:14:06 PDT 2007


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?).

Bahman


More information about the freebsd-questions mailing list