34 lines
751 B
JSON
34 lines
751 B
JSON
{
|
|
"name": "dd",
|
|
"section": 1,
|
|
"title": "convert and copy files",
|
|
"synopsis": [
|
|
"dd [if=FILE] [of=FILE] [bs=N] [count=N] [skip=N] [seek=N] [conv=notrunc] [status=none|progress]"
|
|
],
|
|
"description": "Copy data between files or stdin/stdout with block-oriented operands. Bare OS supports a practical POSIX-like subset.",
|
|
"options": [],
|
|
"keywords": [
|
|
"dd",
|
|
"copy",
|
|
"block",
|
|
"bare-os",
|
|
"coreutils"
|
|
],
|
|
"examples": [
|
|
{
|
|
"caption": "copy a file",
|
|
"code": "dd if=/tmp/in.bin of=/tmp/out.bin bs=4096"
|
|
},
|
|
{
|
|
"caption": "copy first megabyte",
|
|
"code": "dd if=/tmp/disk.img of=/tmp/part.bin bs=1m count=1"
|
|
}
|
|
],
|
|
"seeAlso": [
|
|
{
|
|
"name": "cp",
|
|
"section": 1
|
|
}
|
|
]
|
|
}
|