for group in $(crcli devicegroups list -O json | jq -r '.[].id'); do crcli devicegroups pull "$group" /config/bigip.conf -o ./configs/done
Or with Claude:
Pull /config/bigip.conf from every device in every device groupand save to ./configs/
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Cloud.Red","colors":{"primary":"#E53E3E","light":"#FED7D7","dark":"#742A2A"},"favicon":"https://mintcdn.com/cloudred/jouRqP5D1sJw9S7R/favicon.svg?fit=max\u0026auto=format\u0026n=jouRqP5D1sJw9S7R\u0026q=85\u0026s=b7c52ffd497c5168c4893ff078f17e9f","logo":{"light":"https://mintcdn.com/cloudred/XLCPZIg1Q1S_lH4Z/images/cloud-red.png?fit=max\u0026auto=format\u0026n=XLCPZIg1Q1S_lH4Z\u0026q=85\u0026s=e9cca12160d0bfdc825916dd4cda6d63","dark":"https://mintcdn.com/cloudred/XLCPZIg1Q1S_lH4Z/images/cloud-red.png?fit=max\u0026auto=format\u0026n=XLCPZIg1Q1S_lH4Z\u0026q=85\u0026s=e9cca12160d0bfdc825916dd4cda6d63"},"navbar":{"links":[{"label":"Support","href":"mailto:support@worldtechit.com"}],"primary":null},"search":{"prompt":"🌐 Discover F5 Solutions..."},"seo":{"metatags":{"og:image":"https://github.com/worldtechit/cloud-red/blob/main/docs/og.png?raw=True","og:description":"Cloud.Red is a specialized platform for F5 and NGINX software, offering advanced monitoring, alerting, and observability tools. Developed by WorldTech IT, it leverages deep expertise in F5 BIG-IP systems for enhanced lifecycle management and operational support. Discover how Cloud.Red transforms the way you manage your F5 environment.","og:site_name":"Cloud.Red by WorldTech IT","twitter:site":"@worldtechit"},"indexing":"navigable"},"footer":{"socials":{"twitter":"https://twitter.com/worldtechit","github":"https://github.com/worldtechit","linkedin":"https://www.linkedin.com/company/worldtechit"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cloudred","hasAudioNarration":false,"actualSubdomain":"cloudred","customDomains":["docs.cloud.red"],"gitSource":{"type":"github","owner":"worldtechit","repo":"public-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"edits":false,"thumbs":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae91f0a4f09cc61811fed55:success","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"Features","count":19},{"language":"default","tag":"crcli","count":15},{"language":"default","tag":"Monitoring and Alerting","count":11},{"language":"default","tag":"F5 Alerting","count":10},{"language":"default","tag":"Essentials","count":9},{"language":"default","tag":"Getting Started","count":9},{"language":"default","tag":"Commands","count":5},{"language":"default","tag":"Onboarding","count":5},{"language":"default","tag":"Orchestration","count":5},{"language":"default","tag":"Backups","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"crcli/recipes/file-operations","slug":"/crcli/recipes/file-operations","pageMetadata":{"title":"File Operations","description":"Common push and pull patterns for devices and device groups.","href":"/crcli/recipes/file-operations"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Common push and pull patterns for devices and device groups.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`push-a-file-to-a-device`,children:`Push a File to a Device`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crcli`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` devices`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` push`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`devic`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./bigip.conf`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Specify a remote destination path with a colon:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crcli`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` devices`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` push`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`devic`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./bigip.conf:/config/bigip.conf`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`pull-a-file-from-a-device`,children:`Pull a File from a Device`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Current directory`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crcli`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` devices`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pull`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`devic`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /config/bigip.conf`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Specific output directory`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crcli`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` devices`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pull`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`devic`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /config/bigip.conf`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -o`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./configs/`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`pull-multiple-files-at-once`,children:`Pull Multiple Files at Once`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crcli`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` devices`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pull`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`devic`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`e`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /config/bigip.conf`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /config/bigip_base.conf`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -o`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./configs/`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`push-to-every-device-in-a-group`,children:`Push to Every Device in a Group`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crcli`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` devicegroups`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` push`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` prod-ha`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./bigip.conf`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Push to multiple groups at once:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crcli`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` devicegroups`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` push`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` prod-ha`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dr-ha`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./bigip.conf`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`pull-from-every-device-in-a-group`,children:`Pull from Every Device in a Group`}),`\n`,_jsxs(_components.p,{children:[`Files are automatically named `,_jsx(_components.code,{children:`\u003chostname>_\u003cfilename>`}),` to avoid collisions:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crcli`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` devicegroups`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pull`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` prod-ha`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /config/bigip.conf`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -o`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./configs/`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Result:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`./configs/`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` bigip-prod-01_bigip.conf`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` bigip-prod-02_bigip.conf`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`collect-configs-from-the-entire-fleet`,children:`Collect Configs from the Entire Fleet`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` group`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` $(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`crcli`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` devicegroups`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` list`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -O`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` jq`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '.[].id'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`do`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` crcli`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` devicegroups`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` pull`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$group`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` /config/bigip.conf`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -o`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ./configs/`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`done`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Or with Claude:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Pull /config/bigip.conf from every device in every device group`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`and save to ./configs/`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"File Operations","description":"Common push and pull patterns for devices and device groups.","href":"/crcli/recipes/file-operations"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Push a File to a Device","slug":"push-a-file-to-a-device","depth":2,"children":[]},{"title":"Pull a File from a Device","slug":"pull-a-file-from-a-device","depth":2,"children":[]},{"title":"Pull Multiple Files at Once","slug":"pull-multiple-files-at-once","depth":2,"children":[]},{"title":"Push to Every Device in a Group","slug":"push-to-every-device-in-a-group","depth":2,"children":[]},{"title":"Pull from Every Device in a Group","slug":"pull-from-every-device-in-a-group","depth":2,"children":[]},{"title":"Collect Configs from the Entire Fleet","slug":"collect-configs-from-the-entire-fleet","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"cloudred","siteName":"Cloud.Red","title":"File Operations - Cloud.Red","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-01T20:10:14.060Z","originalFileLocation":"crcli/recipes/file-operations.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Common push and pull patterns for devices and device groups.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cloud.Red\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cloudred/mtxmG_LWaNuBZjDp/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cloudred/mtxmG_LWaNuBZjDp/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cloudred/mtxmG_LWaNuBZjDp/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cloudred/mtxmG_LWaNuBZjDp/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cloudred/mtxmG_LWaNuBZjDp/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cloudred/mtxmG_LWaNuBZjDp/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cloudred/mtxmG_LWaNuBZjDp/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cloudred/mtxmG_LWaNuBZjDp/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cloudred/mtxmG_LWaNuBZjDp/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"File Operations - Cloud.Red\">\u003cmeta data-mint-head property=\"og:description\" content=\"Cloud.Red is a specialized platform for F5 and NGINX software, offering advanced monitoring, alerting, and observability tools. Developed by WorldTech IT, it leverages deep expertise in F5 BIG-IP systems for enhanced lifecycle management and operational support. Discover how Cloud.Red transforms the way you manage your F5 environment.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cloud.Red by WorldTech IT\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cloud.red/crcli/recipes/file-operations\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://github.com/worldtechit/cloud-red/blob/main/docs/og.png?raw=True\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"File Operations - Cloud.Red\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Cloud.Red is a specialized platform for F5 and NGINX software, offering advanced monitoring, alerting, and observability tools. Developed by WorldTech IT, it leverages deep expertise in F5 BIG-IP systems for enhanced lifecycle management and operational support. Discover how Cloud.Red transforms the way you manage your F5 environment.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://github.com/worldtechit/cloud-red/blob/main/docs/og.png?raw=True\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cloudred/mtxmG_LWaNuBZjDp/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cloud.Red\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E53E3E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cloud.red/crcli/recipes/file-operations\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/crcli/recipes/file-operations.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cloud.red/#organization\",\"name\":\"Cloud.Red\",\"url\":\"https://docs.cloud.red\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cloudred/XLCPZIg1Q1S_lH4Z/images/cloud-red.png?fit=max\u0026auto=format\u0026n=XLCPZIg1Q1S_lH4Z\u0026q=85\u0026s=e9cca12160d0bfdc825916dd4cda6d63\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cloud.red#website\",\"name\":\"Cloud.Red\",\"url\":\"https://docs.cloud.red\",\"publisher\":{\"@id\":\"https://docs.cloud.red/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cloud.red/crcli/recipes/file-operations#webpage\",\"url\":\"https://docs.cloud.red/crcli/recipes/file-operations\",\"name\":\"File Operations\",\"description\":\"Common push and pull patterns for devices and device groups.\",\"dateModified\":\"2026-06-01T20:10:14.060Z\",\"isPartOf\":{\"@id\":\"https://docs.cloud.red#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cloud.red/crcli/recipes/file-operations#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cloud.red/crcli/recipes/file-operations#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"crcli\",\"item\":\"https://docs.cloud.red/crcli/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Recipes\",\"item\":\"https://docs.cloud.red/crcli/recipes/pool-checks\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"File Operations\",\"item\":\"https://docs.cloud.red/crcli/recipes/file-operations\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cloud.red/crcli/recipes/file-operations#article\",\"headline\":\"File Operations\",\"name\":\"File Operations\",\"description\":\"Common push and pull patterns for devices and device groups.\",\"url\":\"https://docs.cloud.red/crcli/recipes/file-operations\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cloud.red/crcli/recipes/file-operations#webpage\"},\"image\":\"https://github.com/worldtechit/cloud-red/blob/main/docs/og.png?raw=True\",\"dateModified\":\"2026-06-01T20:10:14.060Z\",\"publisher\":{\"@id\":\"https://docs.cloud.red/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cloud.red#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cloud.Red\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cloud.Red\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/crcli/recipes/file-operations.md","siteName":"Cloud.Red","nav":{"global":null,"groups":[{"group":"Essentials","pages":[{"title":"🌐 Welcome to Cloud.Red","sidebarTitle":"Overview","icon":"cloud","href":"/introduction/overview"},{"title":"Release Notes","icon":"book","href":"/introduction/release-notes"},{"title":"High Level Architecture","href":"/cloud-red-essentials/high-level-architecture"},{"title":"Agent Security","href":"/cloud-red-essentials/security-of-agent"},{"title":"Access Control","href":"/cloud-red-essentials/access-control"},{"group":"Requirements","icon":"bars-progress","pages":[{"title":"Agent Host","href":"/requirements/agent-host"},{"title":"Agent Connectivity Requirements","href":"/requirements/agent-connectivity"},{"title":null,"href":"/requirements/required-changes-for-F5"},{"title":null,"href":"/requirements/required-changes-for-NGINX"}]}]},{"group":"Getting Started","pages":[{"title":"Quickstart","href":"/getting-started/quickstart"},{"title":"User Properties","href":"/getting-started/user-preferences"},{"title":"Resetting Credentials","href":"/getting-started/resetting-credentials"},{"title":"Service Accounts","href":"/getting-started/service-accounts"},{"title":"Access Token Lifespan","href":"/getting-started/access-token-lifespan"},{"title":"CRCLI and MCP Authorization Grant","sidebarTitle":"CRCLI \u0026 MCP Auth Grant","href":"/getting-started/crcli-mcp-authorization"}]},{"group":"Onboarding","pages":[{"group":"Agents","icon":"user-tie","pages":[{"title":"AWS Agent Onboarding","href":"/onboarding/agents/aws"},{"title":"Azure Agent Onboarding","href":"/onboarding/agents/azure"},{"title":"Hyper-V Agent Onboarding","href":"/onboarding/agents/hyper-v"},{"title":"VMWare Agent Onboarding","href":"/onboarding/agents/vmware"}]},{"title":"Monitoring Stand-Up","href":"/onboarding/agents/monitoring"}]},{"group":"Monitoring and Alerting","pages":[{"title":"Incidents","href":"/native-monitoring/incidents"},{"group":"F5 Alerting","icon":"bell","pages":[{"title":"F5 BIG-IP GTM polling","href":"/alerting/f5-bigip-gtm-polling"},{"title":"F5 BIG-IP GTM traps","href":"/alerting/f5-bigip-gtm-traps"},{"title":"F5 BIG-IP LTM polling","href":"/alerting/f5-bigip-ltm-polling"},{"title":"F5 BIG-IP system polling","href":"/alerting/f5-bigip-system-polling"},{"title":"F5 BIG-IP system traps","href":"/alerting/f5-bigip-system-traps"},{"title":"F5 F5OS Appliance Traps","href":"/alerting/f5-f5os-appliance-traps"},{"title":"F5 F5OS Controller Traps","href":"/alerting/f5-f5os-controller-traps"},{"title":"F5 F5OS Partition Traps","href":"/alerting/f5-f5os-partition-traps"},{"title":"F5 F5OS System Polling","href":"/alerting/f5-f5os-system-polling"},{"title":"F5 F5OS System Traps","href":"/alerting/f5-f5os-system-traps"}]}]},{"group":"crcli","pages":[{"title":"crcli","href":"/crcli/introduction"},{"group":"Getting Started","icon":"rocket","pages":[{"title":"Installation","href":"/crcli/getting-started/installation"},{"title":"Setup","href":"/crcli/getting-started/setup"},{"title":"Authentication","href":"/crcli/getting-started/authentication"}]},{"group":"Commands","icon":"code","pages":[{"title":"auth","href":"/crcli/commands/auth"},{"title":"devices","href":"/crcli/commands/devices"},{"title":"devicegroups","href":"/crcli/commands/devicegroups"},{"title":"ssh","href":"/crcli/commands/ssh"},{"title":"tasks","href":"/crcli/commands/tasks"}]},{"group":"MCP Server","icon":"robot","pages":[{"title":"MCP Server","href":"/crcli/mcp/overview"},{"title":"MCP Tools","href":"/crcli/mcp/tools"},{"title":"MCP Examples","href":"/crcli/mcp/examples"}]},{"group":"Recipes","icon":"book","pages":[{"title":"Check Pool Status Across Groups","href":"/crcli/recipes/pool-checks"},{"title":"Collect qkviews from a Group","description":"Generate and download qkview files from every device in a device group.","href":"/crcli/recipes/qkview-collection"},{"title":"File Operations","href":"/crcli/recipes/file-operations"}]}],"icon":"terminal"},{"group":"Features","pages":[{"title":"AST","description":"The AST (Application Study Tool) feature allows for access to AST directly through the cloud.red interface.","href":"/features/ast"},{"title":"Application Dashboards","href":"/features/app-dashboards"},{"title":"ASM Policy","href":"/features/asm"},{"group":"Backups","icon":"folder","pages":[{"title":"Backup Essentials","href":"/backups/backup-essentials"},{"title":"Backup Scheduling","href":"/backups/backup-scheduling"},{"title":"Managing Backups","href":"/backups/managing-backups"},{"title":"Taking Backups On-Demand","href":"/backups/taking-backups-on-demand"}]},{"title":"Certificate Audit","href":"/features/certificate-audit"},{"group":"Maintenance Periods","icon":"calendar","pages":[{"title":"Maintenance Scheduling","href":"/maintenance-periods/maintenance-scheduling"},{"title":"Managing Maintenance Periods","href":"/maintenance-periods/managing-maintenance-periods"},{"title":"Removing a Maintenance","href":"/maintenance-periods/removing-a-maintenance"}]},{"group":"Orchestration","icon":"terminal","pages":[{"title":"Orchestration","href":"/orchestration/orchestration"},{"title":"Solutions","href":"/orchestration/solution"},{"title":"Script Runner","href":"/orchestration/script-runner"},{"title":"Form Builder","href":"/orchestration/form-builder"},{"title":"History","href":"/orchestration/history"}]},{"group":"Remote Access","icon":"shield-quartered","pages":[{"title":"Remote Access Pre-Requisites","href":"/remote-access/remote-access-overview"},{"title":"Remote Access Configuration","href":"/remote-access/remote-access-configuration"},{"title":"F5OS Superuser Access","href":"/remote-access/f5os-superuser-access"}]}]},{"group":"AI Integration","pages":[{"group":"MCP","icon":"robot","pages":[{"title":"AI Integration (MCP)","sidebarTitle":"Overview","href":"/mcp/overview"},{"title":"MCP Tool Reference","sidebarTitle":"Tool Reference","href":"/mcp/tools"}]}]}]},"basePath":"","title":"File Operations - Cloud.Red","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":[],"chunks":[]}