3 dd \- convert and copy a file
5 \fBdd\fR [\fIoption = value\fR] ...\fR
19 .B dd if=/dev/fd0 of=/dev/fd1
20 # Copy disk 0 to disk 1
22 .B dd if=x of=y bs=1w skip=4
23 # Copy \fIx\fP to \fIy\fP, skipping 4 words
25 .B dd if=x of=y count=3
26 # Copy three 512\-byte blocks
29 This command is intended for copying partial files.
30 The block size, skip count, and number of blocks to copy can be specified.
34 \fBif\fR = file \- Input file (default is \fIstdin\fR)
36 \fBof\fR = file \- Output file (default is standard output)
38 \fBibs\fR = n \- Input block size (default 512 bytes)
40 \fBobs\fR = n \- Output block size (default is 512 bytes)
42 \fBbs\fR = n \- Block size; sets \fIibs\fP and \fIobs\fP (default is 512 bytes)
44 \fBskip\fR = n \- Skip \fIn\fP input blocks before reading
46 \fBseek\fR = n \- Skip \fIn\fP output blocks before writing
48 \fBcount\fR = n \- Copy only \fIn\fP input blocks
50 \fBconv = lcase\fR \- Convert upper case letters to lower case
52 \fBconv = ucase\fR \- Convert lower case letters to upper case
54 \fBconv = swab\fR \- Swap every pair of bytes
56 \fBconv = noerror\fR \- Ignore errors and just keep going
58 \fBconv = notrunc\fR \- Do not truncate unmodified blocks
60 \fBconv = silent\fR \- Suppress statistics (MINIX 3 specific flag)
62 Where sizes are expected, they are in bytes.
63 However, the letters \fBw\fR, \fBb\fR, or \fBk\fR may be appended to the
64 number to indicate words (2 bytes), blocks (512 bytes), or K
65 (1024 bytes), respectively.
68 is finished, it reports the number of full and partial blocks read and written.