1DCMD(1)                     General Commands Manual                    DCMD(1)
2
3
4

NAME

6       dcmd - expand file lists of .dsc/.changes files in the command line
7

SYNOPSIS

9       dcmd [options] [command] [changes-file|dsc-file] ...
10

DESCRIPTION

12       dcmd  replaces  any reference to a .dsc or .changes file in the command
13       line with the list of files in  its  'Files'  section,  plus  the  file
14       itself.   It  allows  easy manipulation of all the files involved in an
15       upload (for .changes files) or a source package (for .dsc files).
16
17       If command is omitted (that is the first argument is an  existing  .dsc
18       or .changes file), the expanded list of files is printed to stdout, one
19       file by line. Useful for usage in backticks.
20

OPTIONS

22       There are a number of options which may be used in order to select only
23       a  subset  of  the  files  listed  in  the  .dsc or .changes file. If a
24       requested file is not found, an error message will be printed.
25
26       --dsc         Select the .dsc file.
27
28       --schanges    Select .changes files for the 'source' architecture.
29
30       --bchanges    Select .changes files for binary architectures.
31
32       --changes     Select .changes files. Implies --schanges and --bchanges.
33
34       --archdeb     Select  architecture-dependent  binary   packages   (.deb
35                     files).
36
37       --indepdeb    Select  architecture-independent  binary  packages  (.deb
38                     files).
39
40       --deb         Select binary packages (.deb  files).  Implies  --archdeb
41                     and --indepdeb.
42
43       --archudeb    Select architecture-dependent .udeb binary packages.
44
45       --indepudeb   Select architecture-independent .udeb binary packages.
46
47       --udeb        Select  .udeb  binary  packages.  Implies  --archudeb and
48                     --indepudeb.
49
50       --tar, --orig Select the upstream .tar file.
51
52       --diff, --debtar
53                     Select the Debian .debian.tar or .diff file.
54
55       Each option may be prefixed by --no to  indicate  that  all  files  not
56       matching the specification should be selected.
57
58       It  is  not possible to combine positive filtering options (e.g. --dsc)
59       and negative filtering options (e.g. --no-changes)  in  the  same  dcmd
60       invocation.
61
62       --no-fail-on-missing, -r
63              If  any  of the requested files were not found, do not output an
64              error.
65
66       --package, -p
67              Output package name part only.
68
69       --sort, -s
70              Sort output alphabetically.
71
72       --tac, -t
73              Reverse output order.
74
75

EXAMPLES

77       Copy the result of a build to another machine:
78
79       $ dcmd scp rcs_5.7-23_amd64.changes elegiac:/tmp
80       rcs_5.7-23.dsc                  100%  490     0.5KB/s   00:00
81       rcs_5.7-23.diff.gz              100%   12KB  11.7KB/s   00:00
82       rcs_5.7-23_amd64.deb            100%  363KB 362.7KB/s   00:00
83       rcs_5.7-23_amd64.changes        100% 1095     1.1KB/s   00:00
84       $
85
86       $ dcmd --diff --deb scp rcs_5.7-23_amd64.changes elegiac:/tmp
87       rcs_5.7-23.diff.gz              100%   12KB  11.7KB/s   00:00
88       rcs_5.7-23_amd64.deb            100%  363KB 362.7KB/s   00:00
89       $
90
91       Check the contents of a source package:
92
93       $ dcmd md5sum rcs_5.7-23.dsc
94       8fd09ea9654cda128f8d5c337d3b8de7  rcs_5.7.orig.tar.gz
95       f0ceeae96603e823eacba6721a30b5c7  rcs_5.7-23.diff.gz
96       5241db1e231b1f43ae5514b63d2523f8  rcs_5.7-23.dsc
97       $
98
99       $ dcmd --no-diff md5sum rcs_5.7-23.dsc
100       8fd09ea9654cda128f8d5c337d3b8de7  rcs_5.7.orig.tar.gz
101       5241db1e231b1f43ae5514b63d2523f8  rcs_5.7-23.dsc
102       $
103
104

SEE ALSO

106       dpkg-genchanges(1), dpkg-source(1)
107

AUTHOR

109       This program was written by  Romain  Francoise  <rfrancoise@debian.org>
110       and is released under the GPL, version 2 or later.
111
112
113
114DEBIAN                         Debian Utilities                        DCMD(1)
Impressum