Help us shape the future of Go! Take the 2026 Go Developer Survey

dd

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2018 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

Convert and copy a file.

Synopsis:

dd [OPTIONS...] [-inName FILE] [-outName FILE]

Description:

dd is modeled after dd(1).

Options:

-ibs n:   input block size (default=1)
-obs n:   output block size (default=1)
-bs n:    input and output block size (default=0)
-skip n:  skip n ibs-sized input blocks before reading (default=0)
-seek n:  seek n obs-sized output blocks before writing (default=0)
-conv s:  comma separated list of conversions (none|notrunc)
-count n: copy only n ibs-sized input blocks
-if:      defaults to stdin
-of:      defaults to stdout
-oflag:   comma separated list of out flags (none|sync|dsync)
-status:  print transfer stats to stderr, can be one of:
    none:     do not display
    xfer:     print on completion (default)
    progress: print throughout transfer (GNU)

Notes:

Because UTF-8 clashes with block-oriented copying, `conv=lcase` and
`conv=ucase` will not be supported. Additionally, research showed these
arguments are rarely useful. Use tr instead.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL