On 30/09/2025 13:41, Sven Wiltink wrote:
Hey all,

I found the useful flags skip_bytes, seek_bytes and count_bytes but couldn’t 
find their documentation. Here is a patch to add those flags to the output of 
dd’s –help

We actually removed that documentation because there is an improved way to do 
it,
where you suffix the value with 'B' to interpret as bytes. The docs already say:

  $ dd --help | grep 'N '
    count=N         copy only N input blocks
    seek=N          (or oseek=N) skip N obs-sized output blocks
    skip=N          (or iseek=N) skip N ibs-sized input blocks
  N and BYTES may be followed by the following multiplicative suffixes:
  If N ends in 'B', it counts bytes not blocks.

thanks,
Padraig

Reply via email to