DC3DD(1)
π DC3DD(1) β the manual page, but make it cute π
okay bestie, welcome to the dc3dd manual page for the User Commands section of the manual. this is the whole thing, every flag, every note, zero skips, we're going the whole way through. grab a snack π
πΈ NAME πΈ
dc3dd β convert and copy a file
β¨ DESCRIPTION β¨
------ usage: ------
okay so here's the vibe, the way you actually run this thing:
dc3dd [OPTION 1] [OPTION 2] ... [OPTION N]
or
dc3dd [HELP OPTION]
where each OPTION gets picked from the basic or advanced options listed below, and HELP OPTION gets picked from the help options listed below. that's it, that's the whole structure, slay. π
-------------- basic options: --------------
if=DEVICEorif=FILEβ read your input from a device or a file (peep note #1 below for how to read from standard input π). this one can only be used once, and it cannot be combined withifs=,pat=, ortpat=.ifs=BASE.FMTβ read input from a whole set of files with base name BASE and sequential file name extensions matching the format specifier FMT (note #4 below tells you how to specify FMT). this one can only be used once and cannot be combined withif=,pat=, ortpat=.of=FILEorof=DEVICEβ write output to a file or device (note #2 below for how to write to standard output). this one can be used more than once β see note #3 below for how to generate multiple outputs. so many outputs, so little time πhof=FILEorhof=DEVICEβ write output to a file or device, hash the output bytes, and verify by comparing the output hash(es) to the input hash(es). also usable more than once (note #3, multiple outputs, you know the drill).ofs=BASE.FMTβ write output to a set of files with base name BASE and sequential file name extensions generated from the format specifier FMT (note #4 for FMT specifics). can be used more than once (note #3 for multiple outputs). set the max size of each file in the set withofsz=.hofs=BASE.FMTβ write output to a set of files with base name BASE and sequential file name extensions generated from the format specifier FMT (yes, note #4 again). hash the output files and verify by comparing the output hash(es) to the input hash(es). can be used more than once (note #3, multiple outputs). max size of each file in the set goes inofsz=.ofsz=BYTESβ set the maximum size of each file in the sets of files you specified withofs=orhofs=to BYTES (note #5 below). a default for this can be set at compile time using-DDEFAULT_OUTPUT_FILE_SIZEfollowed by the value you want in BYTES.hash=ALGORITHMβ compute an ALGORITHM hash of the input and also of any outputs you specified withhof=,hofs=, orfhod=, where ALGORITHM is one ofmd5,sha1,sha256, orsha512. may be used once for each supported ALGORITHM. alternatively, hashing can be switched on at compile time using one or more of-DDEFAULT_HASH_MD5,-DDEFAULT_HASH_SHA1,-DDEFAULT_HASH_SHA256, and-DDEFAULT_HASH_SHA512.log=FILEβ log I/O statistcs, diagnostics, and total hashes of input and output to FILE. ifhlog=isn't specified, piecewise hashes of multiple file input and output also get logged to FILE. can be used more than once to generate multiple logs.hlog=FILEβ log total hashes and piecewise hashes to FILE. can be used more than once to generate multiple logs.mlog=FILEβ create a hash log that's easier for a machine to read π€
----------------- advanced options: -----------------
fhod=DEVICEβ the same ashof=DEVICE, but with the extra bonus of hashing the entire output DEVICE. can be used more than once (note #3 below, multiple outputs, you know how it is).rec=offβ by default, zeros get written to the output(s) in place of bad sectors when the input is a device. use this option to make the program instead just exit the moment a bad sector shows up. πͺwipe=DEVICEβ wipe DEVICE by writing zeros (the default) or a pattern specified bypat=ortpat=.hwipe=DEVICEβ wipe DEVICE by writing zeros (the default) or a pattern specified bypat=ortpat=. then verify DEVICE after writing it by hashing it and comparing the hash(es) to the input hash(es). double-checking is self care β¨pat=HEXβ use a pattern as input, writing HEX to every byte of the output. can only be used once and cannot be combined withif=,ifs=, ortpat=.tpat=TEXTβ use a text pattern as input, writing the string TEXT repeatedly to the output. can only be used once and cannot be combined withif=,ifs=, orpat=.cnt=SECTORSβ read only SECTORS input sectors. must be used withpat=ortpat=if you're not using the pattern together withwipe=orhwipe=to wipe a device.iskip=SECTORSβ skip SECTORS sectors at the start of the input device or file.oskip=SECTORSβ skip SECTORS sectors at the start of the output file. heads up: specifyingoskip=automatically setsapp=on.app=onβ do not overwrite an output file specified withof=if it already exists; append output instead.ssz=BYTESβ unconditionally use BYTES (note #5 below) bytes for sector size. ifssz=isn't specified, the sector size is figured out by probing the device; if the probe fails or the target isn't a device, a sector size of512bytes is assumed.bufsz=BYTESβ set the size of the internal byte buffers to BYTES (note #5 below). this effectively sets the max number of bytes that may be read at a time from the input. BYTES must be a multiple of the sector size. use this to fine-tune performance π₯verb=onβ activate verbose reporting, where sectors in/out get reported for each file in sets of files specified withifs=,ofs=, orhofs=. alternatively, verbose reporting can be activated at compile time using-DDEFAULT_VERBOSE_REPORTING.nwspc=onβ activate compact reporting, where the use of white space to divide log output into logical sections is suppressed. alternatively, compact reporting can be activated at compile time using-DDEFAULT_COMPACT_REPORTING.b10=onβ activate base 10 bytes reporting, where the progress display reports1000bytes instead of1024bytes as 1 KB. alternatively, base 10 bytes reporting can be activated at compile time using-DDEFAULT_BASE_TEN_BYTES_REPORTING.corruptoutput=onβ for verification testing and demonstration purposes, corrupt the output file(s) with extra bytes so a hash mismatch is guaranteed. π yes it's on purpose. no, do not do this on real evidence, bestie.
------------- help options: -------------
--helpβ display this help and exit--versionβ output version information and exit--flagsβ display compile-time flags and exit
------ notes: ------
- to read from stdin, do not specify
if=,ifs=,pat=, ortpat=. - to write to stdout, do not specify
of=,hof=,ofs=,hofs=,fhod=,wipe=, orhwipe=. - to write to multiple outputs, specify more than one of
of=,hof=,ofs=,hofs=, orfhod=, in any combination. - FMT is a pattern for a sequence of file extensions that can be numerical starting at zero, numerical starting at one, or alphabetical. specify FMT by using a series of zeros, ones, or a's, respectively. the number of characters used indicates the desired length of the extensions. for example, a FMT specifier of
0000indicates four character numerical extensions starting with0000. - BYTES may be followed by the following multiplicative suffixes:
c(1),w(2),b(512),kB(1000),K(1024),MB(1000*1000),M(1024*1024),GB(1000*1000*1000),G(1024*1024*1024), and so on forT,P,E,Z, andY. - consider using
cnt=,iskip=andoskip=to work around unreadable sectors if error recovery fails. - sending an interrupt (e.g.,
CTRL+C) todc3ddwill cause the program to report the work completed at the time the interrupt is received and then exit.
dc3dd completed at 2023-04-04 18:08:06 -0400
π«Ά AUTHOR π«Ά
written by Paul Rubin, David MacKenzie, Stuart Kemp, Jesse Kornblum, Andrew Medico, Richard Cordovano, Justin Lowe, Frank Westerman, and Joseph Lininger. absolute icons, every single one π
π REPORTING BUGS π
report bugs to <dc3dd@dc3.mil>.
π COPYRIGHT π
Copyright Β© 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
this is free software: you are free to change and redistribute it. there is NO WARRANTY, to the extent permitted by law. π«‘
π SEE ALSO π
the full documentation for dc3dd is maintained as a Texinfo manual. if the info and dc3dd programs are properly installed at your site, the command
info dc3dd
should give you access to the complete manual. iykyk π
okay that's the whole page bestie, no notes skipped, no flags dropped, we ate and left zero crumbs π β¨
this was dc3dd version 7.3.1, from April 2023. mwah, go image something responsibly ππ¦πΈ
π¦ where this page comes from
- fedora 43: dc3dd 7.3.1-12.fc43 Β· GPL-3.0-or-later
- fedora 43: dc3dd 7.3.1-5.fc41 Β· GPLv3+
- fedora 44: dc3dd 7.3.1-12.fc44 Β· GPL-3.0-or-later
- fedora 44: dc3dd 7.3.1-5.fc41 Β· GPLv3+
- nixpkgs unstable: dc3dd 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms