github.com/artpar/rclone@v1.67.3/docs/content/commands/rclone_genautocomplete_bash.md (about)

     1  ---
     2  title: "rclone genautocomplete bash"
     3  description: "Output bash completion script for rclone."
     4  slug: rclone_genautocomplete_bash
     5  url: /commands/rclone_genautocomplete_bash/
     6  # autogenerated - DO NOT EDIT, instead edit the source code in cmd/genautocomplete/bash/ and as part of making a release run "make commanddocs"
     7  ---
     8  # rclone genautocomplete bash
     9  
    10  Output bash completion script for rclone.
    11  
    12  # Synopsis
    13  
    14  
    15  Generates a bash shell autocompletion script for rclone.
    16  
    17  This writes to /etc/bash_completion.d/rclone by default so will
    18  probably need to be run with sudo or as root, e.g.
    19  
    20      sudo rclone genautocomplete bash
    21  
    22  Logout and login again to use the autocompletion scripts, or source
    23  them directly
    24  
    25      . /etc/bash_completion
    26  
    27  If you supply a command line argument the script will be written
    28  there.
    29  
    30  If output_file is "-", then the output will be written to stdout.
    31  
    32  
    33  ```
    34  rclone genautocomplete bash [output_file] [flags]
    35  ```
    36  
    37  # Options
    38  
    39  ```
    40    -h, --help   help for bash
    41  ```
    42  
    43  See the [global flags page](/flags/) for global options not listed here.
    44  
    45  # SEE ALSO
    46  
    47  * [rclone genautocomplete](/commands/rclone_genautocomplete/)	 - Output completion script for a given shell.
    48