A.3.9. Removing a File from a Channel

A.3.9. Removing a File from a Channel

To remove a file from a channel, issue the command:

 rhncfg-manager remove --channel=channel-label /tmp/dest_path/example-config.txt

If prompted for your RHN username and password, provide them. You should see output resembling:

 Red Hat Network username: rhn-user Password: Removing from config channel example-channel3 /tmp/dest_path/example-config.txt removed 

The following table lists the options available for rhncfg-manager remove:

Option Description
-cCHANNEL, --channel=CHANNEL Remove files from this config channel
-tTOPDIR, --topdir=TOPDIR Make all files relative to this string
-h, --help Show help message and exit
Table A.9. rhncfg-manager remove options