![Red Hat NETWORK 3.6 - Reference Manual Download Page 135](http://html1.mh-extra.com/html/red-hat/network-3-6/network-3-6_reference-manual_1427569135.webp)
Appendix A. Command Line Config Management Tools
123
-n=
channel-label1
-r=
1
-n=
channel-label2
-r=
1
/path/to/file.txt
You should see output resembling:
--- /tmp/dest_path/foo.txt
2004-01-13 14:36:41
config
channel: blah2
revision: 1
--- /tmp/dest_path/foo.txt
2004-01-13 14:42:42
config
channel: blah3
revision: 1
@@ -1 +1,20 @@
-foo
+blaaaaaaaaaaaaaaah
+-----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-----
A.2.5. Downloading All Files in a Channel
To download all the files in a channel to disk, create a directory and issue the command:
rhncfg-manager download-channel
channel-label
--topdir .
You should see output resembling:
Copying /tmp/dest_path/foo.txt -> blah2/tmp/dest_path/foo.txt
A.2.6. Getting the Contents of a File
To get the contents of a particular file to stdout, issue the command:
rhncfg-manager get
--channel=
channel-label
/tmp/dest_path/foo.txt
You should see the contents of the file as output.
A.2.7. Listing All Files in a Channel
To list all the files in a channel, issue the command:
rhncfg-manager list
channel-label
You should see output resembling:
Files in config channel ‘blah3’:
/tmp/dest_path/foo.txt
Summary of Contents for NETWORK 3.6 -
Page 1: ...Red Hat Network 3 6 Reference Guide ...
Page 8: ......
Page 54: ...42 Chapter 4 Red Hat Network Alert Notification Tool ...
Page 68: ...56 Chapter 5 Red Hat Network Registration Client ...
Page 130: ...118 Chapter 6 Red Hat Network Website ...
Page 138: ...126 Appendix A Command Line Config Management Tools ...
Page 142: ...130 Appendix B RHN API Access ...
Page 186: ...174 Appendix C Probes ...
Page 192: ...180 Glossary ...