![Red Hat NETWORK SATELLITE 5.1.0 - CHANNEL MANAGEMENT Reference Manual Download Page 228](http://html.mh-extra.com/html/red-hat/network-satellite-5-1-0-channel-management/network-satellite-5-1-0-channel-management_reference-manual_1427591228.webp)
Table A.5.
rhncfg-manager diff
options
3.4. Differentiating between Various Versions
To compare different versions of a file across channels and revisions, use the
-r
flag to indicate
which revision of the file should be compared and the
-n
flag to identify the two channels to be
checked. Refer to
Section 3.11, “Determining the Number of File Revisions”
for related
instructions. Specify only one file name here, since you are comparing the file against another
version of itself. For example:
rhncfg-manager diff-revisions
-n=channel-label1-r=1-n=channel-label2-r=1/path/to/file.txt
The output resembles the following:
--- /tmp/dest_path/example-config.txt 2004-01-13 14:36:41 \ config channel:
example-channel2 revision: 1 --- /tmp/dest_path/example-config.txt
2004-01-13 14:42:42 \ config channel: example-channel3 revision: 1 @@ -1
+1,20 @@ -foo +blaaaaaaaaaa-----BEGIN PGP SIGNATURE----- +Version:
GnuPG v1.0.6 (GNU/Linux) +Comment: For info see http://www.gnupg.org +
+iD8DBQA9ZY6vse4XmfJPGwgRAsHcAJ9ud9dabUcdscdcqB8AZP7e0Fua0NmKsdhQCeOWHX
+VsDTfen2NWS+Cow= +=Ltp2 +-----END PGP SIGNATURE-----
The following table lists the options available for
rhncfg-manager diff-revisions
:
Option
Description
-cCHANNEL, --channel=CHANNEL
Use this config channel
-rREVISION, --revision=REVISION
Use this revision
-h, --help
Show help message and exit
Table A.6.
rhncfg-manager diff-revisions
options
3.5. Downloading All Files in a Channel
To download all the files in a channel to disk, create a directory and issue the following
command:
rhncfg-manager download-channel channel-label --topdir .
The output resembles the following:
Appendix A. Command Line Config Management Tools
214
Summary of Contents for NETWORK SATELLITE 5.1.0 - CHANNEL MANAGEMENT
Page 1: ...Red Hat Network Satellite Reference Guide 5 1 0 5 1 ISBN Publication date ...
Page 2: ...Red Hat Network Satellite ...
Page 4: ...Red Hat Network Satellite ...
Page 12: ...xii ...
Page 22: ...8 ...
Page 35: ...Figure 2 11 Available Package Updates Available Package Updates 21 ...
Page 52: ...38 ...
Page 74: ...Figure 5 15 Text Mode Welcome Screen Chapter 5 Red Hat Network Registration Client 60 ...
Page 176: ...162 ...
Page 202: ...188 ...
Page 220: ...206 ...
Page 300: ...Your Preferences 71 Index 286 ...