Skip to content

azcopy_completion_bash

GitHub Action edited this page Sep 8, 2025 · 52 revisions

azcopy completion bash

Generate the autocompletion script for bash

Synopsis

Generate the autocompletion script for the bash shell.

This script depends on the 'bash-completion' package. If it is not installed already, you can install it via your OS's package manager.

To load completions in your current shell session:

source <(azcopy completion bash)

To load completions for every new session, execute once:

Linux:

azcopy completion bash > /etc/bash_completion.d/azcopy

macOS:

azcopy completion bash > $(brew --prefix)/etc/bash_completion.d/azcopy

You will need to start a new shell for this setup to take effect.

azcopy completion bash

Options

  -h, --help              help for bash
      --no-descriptions   disable completion descriptions

Options inherited from parent commands

      --await-continue continue             Used when debugging, to tell AzCopy to await continue on stdin before starting any work. 
                                             Assists with debugging AzCopy via attach-to-process
      --await-open open                     Used when debugging, to tell AzCopy to await open on stdin, after scanning but before opening the first file. 
                                             Assists with testing cases around file modifications between scanning and usage
      --cap-mbps float                      Caps the transfer rate, in megabits per second. 
                                             Moment-by-moment throughput might vary slightly from the cap.
                                             If this option is set to zero, or it is omitted, the throughput isn't capped.
      --debug-skip-files string             Used when debugging, to tell AzCopy to cancel the job midway.
                                             List of relative paths to skip in the STE.
      --log-level string                    Define the log verbosity for the log file, 
                                             available levels: DEBUG(detailed trace), INFO(all requests/responses), WARNING(slow responses),
                                             ERROR(only failed requests), and NONE(no output logs). (default 'INFO'). (default "INFO")
      --output-level string                 Define the output verbosity. Available levels: essential, quiet. (default "default")
      --output-type string                  Format of the command's output. The choices include: text, json. 
                                             The default value is 'text'. (default "text")
      --skip-version-check                  Do not perform the version check at startup. 
                                            Intended for automation scenarios & airgapped use.
      --trusted-microsoft-suffixes string   
                                            Specifies additional domain suffixes where Azure Active Directory login tokens may be sent.  
                                            The default is '*.core.windows.net;*.core.chinacloudapi.cn;*.core.cloudapi.de;*.core.usgovcloudapi.net;*.storage.azure.net'. 
                                             Any listed here are added to the default. For security, you should only put Microsoft Azure domains here. 
                                             Separate multiple entries with semi-colons.

SEE ALSO

Auto generated by spf13/cobra on 8-Sep-2025
Clone this wiki locally