DD(1)
πΈ NAME πΈ
okay so welcome to DD(1), straight out of the General Commands Manual β this is the dd page, and she copies, and optionally converts, a file system resource. main character copy tool energy, fr fr. π
β¨ SYNOPSIS β¨
dd [OPERAND]...
dd OPTION
π DESCRIPTION π
copy, and optionally convert, a file system resource. that's the vibe. no cap. π«Ά
π OPTIONS π
-h,--helpβ print help, bestie.-V,--versionβ print version.[operands]β okay so the actual operands are a whole moment. they live in the EXTRA section below, and yes every single one is there. π
π¦ EXTRA π¦
okay bestie, this is the big one β all the operands, conversion options, input flags, output flags, and general flags. i kept every single one. no skips, no "you'll figure it out." periodt. β¨
π Operands π
bs=BYTESβ read and write up toBYTESbytes at a time (default:512); overwritesibsandobs. she's the boss of both buffer sizes, lowkey.cbs=BYTESβ the 'conversion block size' in bytes. applies to theconv=blockandconv=unblockoperations.conv=CONVSβ a comma-separated list of conversion options or (for legacy reasons) file flags. yes, file flags too, for legacy reasons. iconic.count=Nβ stop reading input afterNibs-sized read operations rather than proceeding until EOF. seeiflag=count_bytesif stopping afterNbytes is preferred. π‘ibs=Nβ the size of buffer used for reads (default:512).if=FILEβ the file used for input. when not specified,stdinis used instead.iflag=FLAGSβ a comma-separated list of input flags which specify how the input source is treated.FLAGSmay be any of the input-flags or general-flags specified below.skip=N(oriseek=N) β skipNibs-sized records into input before beginning copy/convert operations. seeiflag=seek_bytesif seekingNbytes is preferred.obs=Nβ the size of buffer used for writes (default:512).of=FILEβ the file used for output. when not specified,stdoutis used instead.oflag=FLAGSβ comma separated list of output flags which specify how the output source is treated.FLAGSmay be any of the output flags or general flags specified below.seek=N(oroseek=N) β seeksNobs-sized records into output before beginning copy/convert operations. seeoflag=seek_bytesif seekingNbytes is preferred.status=LEVELβ controls whether volume and performance stats are written tostderr.
when unspecified, dd will print stats upon completion. an example is below.
6+0 records in
16+0 records out
8192 bytes (8.2 kB, 8.0 KiB) copied, 0.00057009 s,
14.4 MB/s
the first two lines are the 'volume' stats and the final line is the 'performance' stats. the volume stats indicate the number of complete and partial ibs-sized reads, or obs-sized writes that took place during the copy. the format of the volume stats is <complete>+<partial>. if records have been truncated (see conv=block), the volume stats will contain the number of truncated records.
Possible LEVEL values are:
progressβ print periodic performance stats as the copy proceeds.noxferβ print final volume stats, but not performance stats.noneβ do not print any stats.
printing performance stats is also triggered by the INFO signal (where supported), or the USR1 signal. setting the POSIXLY_CORRECT environment variable to any value (including an empty value) will cause the USR1 signal to be ignored. π
π Conversion options π
asciiβ convert from EBCDIC to ASCII. this is the inverse of theebcdicoption. impliesconv=unblock.ebcdicβ convert from ASCII to EBCDIC. this is the inverse of theasciioption. impliesconv=block.ibmβ convert from ASCII to EBCDIC, applying the conventions for[,]and~specified in POSIX. impliesconv=block.ucaseβ convert from lower-case to upper-case.lcaseβ convert from upper-case to lower-case.blockβ for each newline less than the size indicated bycbs=BYTES, remove the newline and pad with spaces up tocbs. lines longer thancbsare truncated.unblockβ for each block of input of the size indicated bycbs=BYTES, remove right-trailing spaces and replace with a newline character.sparseβ attempts to seek the output when anobs-sized block consists of only zeros.swabβ swaps each adjacent pair of bytes. if an odd number of bytes is present, the final byte is omitted.syncβ pad eachibs-sided block with zeros. ifblockorunblockis specified, pad with spaces instead.exclβ the output file must be created. fail if the output file is already present.nocreatβ the output file will not be created. fail if the output file is not already present.notruncβ the output file will not be truncated. if this option is not present, output will be truncated when opened. πnoerrorβ all read errors will be ignored. if this option is not present,ddwill only ignoreError::Interrupted.fdatasyncβ data will be written before finishing.fsyncβ data and metadata will be written before finishing.
β¨ Input flags β¨
count_bytesβ a value tocount=Nwill be interpreted as bytes.skip_bytesβ a value toskip=Nwill be interpreted as bytes.fullblockβ wait foribsbytes from each read. zero-length reads are still considered EOF.
π Output flags π
appendβ open file in append mode. consider settingconv=notruncas well.seek_bytesβ a value toseek=Nwill be interpreted as bytes.
π§ General flags π§
directβ use direct I/O for data.directoryβ fail unless the given input (if used as aniflag) or output (if used as anoflag) is a directory.dsyncβ use synchronized I/O for data.syncβ use synchronized I/O for data and metadata.nonblockβ use non-blocking I/O.noatimeβ do not update access time.nocacheβ request that OS drop cache.nocttyβ do not assign a controlling tty.nofollowβ do not follow system links.
π VERSION π
v(uutils coreutils) 0.12.0
π«Ά that's the page, bestie β v(uutils coreutils) 0.12.0, dated 2026-09-17. periodt. π
π¦ where this page comes from
- arch rolling: uutils-coreutils 0.12.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms