DCMD(1)
π DCMD(1) β the group chat manual page
okay bestie, welcome to dcmd, living in the General Commands Manual section of your local man pages. this is the little tool that makes your .dsc and .changes files stop being annoying. grab a boba, we're doing this. π§β¨
π¦ NAME
dcmd β bestie's little helper that expands file lists of .dsc/.changes files right there in the command line π
β¨ SYNOPSIS
dcmd [options] [command] [changes-file|dsc-file] ...
πΈ DESCRIPTION
okay so here's the vibe: dcmd goes through your command line and every time it sees a reference to a .dsc or .changes file, it swaps that reference out for the full list of files sitting in that file's 'Files' section β plus the file itself, obviously, she's not gonna ghost herself π
and likeβ¦ why do we care? because it lets you mess with every single file involved in an upload (that's your .changes files) or every file in a source package (that's your .dsc files) without typing forty filenames by hand. it's giving convenience, it's giving main character energy. π
and if you omit command β meaning the first argument is an existing .dsc or .changes file β then she just prints the expanded list of files to stdout, one file per line. lowkey perfect for backticks. π
π OPTIONS
so there's a whole lil menu of options you can use to pick out just a subset of the files listed in the .dsc or .changes file. and listen β if you ask for a file and it's not there, you're getting an error message. no cap. π
--dscβ select the.dscfile.--buildinfoβ select the.buildinfofile.--schangesβ select.changesfiles for the'source'architecture.--bchangesβ select.changesfiles for binary architectures.--changesβ select.changesfiles. implies--schangesand--bchanges. she contains multitudes π--archdebβ select architecture-dependent binary packages (.debfiles).--indepdebβ select architecture-independent binary packages (.debfiles).--debβ select binary packages (.debfiles). implies--archdeband--indepdeb.--archudebβ select architecture-dependent.udebbinary packages.--indepudebβ select architecture-independent.udebbinary packages.--udebβ select.udebbinary packages. implies--archudeband--indepudeb.--tar,--origβ select the upstream.tarfile.--diff,--debtarβ select the Debian.debian.taror.difffile.
β¨ and here's the fun part: every single one of those options can be prefixed with --no to flip it β meaning "actually, select all the files that don't match this spec." iconic. π¦
β οΈ but bestie, listen closely: you cannot combine positive filtering options (like--dsc) with negative filtering options (like--no-changes) in the samedcmdinvocation. it's one or the other, no mixing. pick a lane, we're not doing chaos today π
π«Ά the extra lil options
--no-fail-on-missing,-rβ if any of the requested files were not found, do not output an error. (yes she's being forgiving. we love a chill queen.)--package,-pβ output package name part only.--sort,-sβ sort output alphabetically. tidy. organized. β¨--tac,-tβ reverse output order. flip it, reverse it. π₯
π EXAMPLES
copy the result of a build to another machine π
$ dcmd scp rcs_5.7-23_amd64.changes elegiac:/tmp
rcs_5.7-23.dsc 100% 490 0.5KB/s 00:00
rcs_5.7-23.diff.gz 100% 12KB 11.7KB/s 00:00
rcs_5.7-23_amd64.deb 100% 363KB 362.7KB/s 00:00
rcs_5.7-23_amd64.changes 100% 1095 1.1KB/s 00:00
$
$ dcmd --diff --deb scp rcs_5.7-23_amd64.changes elegiac:/tmp
rcs_5.7-23.diff.gz 100% 12KB 11.7KB/s 00:00
rcs_5.7-23_amd64.deb 100% 363KB 362.7KB/s 00:00
$
check the contents of a source package π
$ dcmd md5sum rcs_5.7-23.dsc
8fd09ea9654cda128f8d5c337d3b8de7 rcs_5.7.orig.tar.gz
f0ceeae96603e823eacba6721a30b5c7 rcs_5.7-23.diff.gz
5241db1e231b1f43ae5514b63d2523f8 rcs_5.7-23.dsc
$
$ dcmd --no-diff md5sum rcs_5.7-23.dsc
8fd09ea9654cda128f8d5c337d3b8de7 rcs_5.7.orig.tar.gz
5241db1e231b1f43ae5514b63d2523f8 rcs_5.7-23.dsc
$
π SEE ALSO
dpkg-genchanges(1), dpkg-source(1) β go say hi, they're the family π
π AUTHOR
this program was written by Romain Francoise <rfrancoise@debian.org> and is released under the GPL, version 2 or later. we stan a licensed icon π
and that's the whole page, bestie!! this one shipped out from the Debian camp, in the Debian Utilities collection, and it's filed under DCMD(1). go forth and expand those file lists, you absolute legend. πβ¨π¦πΈπ
π¦ where this page comes from
- debian trixie: devscripts 2.25.15+deb13u1 Β· GPL-2.0-or-later
- fedora 43: devscripts 2.25.19-2.fc43 Β· GPL-2.0-or-later
- fedora 43: devscripts 2.25.33-1.fc43 Β· GPL-2.0-or-later
- fedora 44: devscripts 2.26.5-1.fc44 Β· GPL-2.0-or-later
- ubuntu questing: devscripts 2.25.19ubuntu2
- ubuntu resolute: devscripts 2.26.7 Β· GPL-2.0-or-later
- ubuntu stonking: devscripts 2.26.11ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms