Manual / dd
dd(1)
| DD(1) | General Commands Manual | DD(1) |
NAME
dd - copy files in blocks
SYNOPSIS
dd [option=value ...]
DESCRIPTION
Dd copies the specified input file to the specified output. The standard input and output are used by default. The input and output block size may be specified.
- if=file
- Input file.
- of=file
- Output file. By default it is replaced with a new ProDOS BIN file.
- bs=n
- Input/output block size in bytes, 1 through 4096; default 512.
- count=n
- Copy at most n input blocks, rather than continuing until end of input.
- skip=n
- Skip n blocks of the input file before copying.
- seek=n
- Seek n blocks into the output file before copying.
- conv=notrunc
- Open the existing output without replacing it or shortening it.
After completion, dd reports the number of whole and partial input and output blocks. For example:
dd if=input of=copy bs=512
All numbers are decimal, without suffixes. Skip and seek require named files and must fit a 24-bit byte offset. Do not use the same file as input and output in the default replacing mode.
FILES
/usr/man/DD this page
SEE ALSO
DIAGNOSTICS
Exit status is 0 on success, 1 for I/O failures, 2 for invalid operands.
BUGS
No raw-device copying, independent ibs/obs sizes, character conversions, noerror or sync mode. Block counts are limited to 65535. This command is on its dedicated development image, not the ordinary play command roster.
| September 19, 2026 | maux |