Este conteúdo não está disponível no idioma selecionado.

A.3.12. Updating a File in a Channel


To create a new revision of a file in a channel (or add the first revision to that channel if none existed before for the given path), issue the following command:
rhncfg-manager update \
--channel=channel-label --dest-file=/path/to/file.txt /local/path/to/file--channel=channel-label --dest-file=/path/to/file.txt /local/path/to/file--channel=channel-label --dest-file=/path/to/file.txt /local/path/to/file--channel=channel-label --dest-file=/path/to/file.txt /local/path/to/file--channel=channel-label --dest-file=/path/to/file.txt /local/path/to/file
Copy to Clipboard Toggle word wrap
The output resembles the following:
Pushing to channel example-channel: 
Local file example-channel/tmp/dest_path/example-config.txt -> \
remote file /tmp/dest_path/example-config.txt 
Copy to Clipboard Toggle word wrap
The following table lists the options available for rhncfg-manager update:
Expand
Table A.10. rhncfg-manager update options
Option Description
-cCHANNEL, --channel=CHANNEL Upload files in this config channel
-dDEST_FILE, --dest-file=DEST_FILE Upload the file as this path
-tTOPDIR, --topdir=TOPDIR Make all files relative to this string
--delim-start=DELIM_START Start delimiter for variable interpolation
--delim-end=DELIM_END End delimiter for variable interpolation
-h, --help Show help message and exit
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat