3 dd \- convert and copy a file
12 copies the specified input file
13 to the specified output with
15 The standard input and output are used by default.
16 The input and output block size may be
17 specified to take advantage of raw physical I/O.
33 Set input block size to
38 Set output block size (default 512).
41 Set both input and output block size,
46 If no conversion is specified,
47 preserve the input block size instead of packing short blocks
48 into the output buffer.
49 This is particularly efficient since no in-core copy need be done.
52 Set conversion buffer size.
57 input records before copying.
62 records forward on input file
68 input files (useful only for magnetic tape or similar input device).
73 records from beginning of output file before copying.
83 truncates the output file when it opens it;
86 opens it without truncation.
91 prints the number of blocks read and written
95 silences this summary.
97 \fL-conv\ ascii\ \ \ \ \fRConvert
102 .RS "\w'\fLconv\ \fP'u"
103 .TP "\w'\fLunblock\ \ \fP'u"
113 but with a slightly different character map.
116 Convert variable length
118 records to fixed length.
123 records to variable length.
126 Map alphabetics to lower case.
129 Map alphabetics to upper case.
132 Swap every pair of bytes.
135 Do not stop processing on an error.
138 Pad every input record to
145 Where sizes are specified,
146 a number of bytes is expected.
147 A number may end with
151 to specify multiplication by
152 1024 or 512 respectively;
153 a pair of numbers may be separated by
155 to indicate a product.
156 Multiple conversions may be specified in the style:
157 .LR "-conv ebcdic,ucase" .
167 conversion is specified.
168 In the first two cases,
170 characters are copied into the conversion buffer, any specified
171 character mapping is done,
172 trailing blanks are trimmed and new-line is added
173 before sending the line to the output.
174 In the latter three cases, characters are read into the
175 conversion buffer and blanks are added to make up an
176 output record of size
180 is unspecified or zero, the
185 options convert the character set without changing the block
186 structure of the input file; the
190 options become a simple file copy.
197 reports the number of full + partial input and output