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