Downloading All Files in a Channel
195
checked. Refer to
Section A.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
A.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:
Copying /tmp/dest_path/example-config.txt -> \ blah2/tmp/dest_path/
example-config.txt
The following table lists the options available for
rhncfg-manager download-channel
:
Option
Description
-tTOPDIR, --topdir=TOPDIR
Directory all the file paths are relative to. This option
must be set.
-h, --help
Show help message and exit
Table A.7.
rhncfg-manager download-channel
options
A.3.6. Getting the Contents of a File
To direct the contents of a particular file to stdout, issue the command:
Содержание NETWORK SATELLITE 5.2 - CHANNEL MANAGEMENT
Страница 1: ...Red Hat Network Satellite 5 2 Reference Guide Red Hat Network Satellite ...
Страница 2: ...Reference Guide Red Hat Network Satellite 5 2 Reference Guide Red Hat Network Satellite Edition 5 2 ...
Страница 10: ...x ...
Страница 30: ...Chapter 2 Red Hat Update Agent 18 Figure 2 11 Available Package Updates ...
Страница 46: ...34 ...
Страница 68: ...56 ...
Страница 162: ...150 ...
Страница 174: ...162 ...
Страница 186: ...174 ...
Страница 259: ...247 Appendix D Revision History Revision History Revision 1 0 ...
Страница 260: ...248 ...
Страница 268: ...256 ...