github.com/10XDev/rclone@v1.52.3-0.20200626220027-16af9ab76b2a/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, eg
    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  
    31  ```
    32  rclone genautocomplete bash [output_file] [flags]
    33  ```
    34  
    35  ## Options
    36  
    37  ```
    38    -h, --help   help for bash
    39  ```
    40  
    41  See the [global flags page](/flags/) for global options not listed here.
    42  
    43  ## SEE ALSO
    44  
    45  * [rclone genautocomplete](/commands/rclone_genautocomplete/)	 - Output completion script for a given shell.
    46