github.com/ncw/rclone@v1.48.1-0.20190724201158-a35aa1360e3e/docs/content/commands/rclone_genautocomplete_bash.md (about) 1 --- 2 date: 2019-06-20T16:09:42+01:00 3 title: "rclone genautocomplete bash" 4 slug: rclone_genautocomplete_bash 5 url: /commands/rclone_genautocomplete_bash/ 6 --- 7 ## rclone genautocomplete bash 8 9 Output bash completion script for rclone. 10 11 ### Synopsis 12 13 14 Generates a bash shell autocompletion script for rclone. 15 16 This writes to /etc/bash_completion.d/rclone by default so will 17 probably need to be run with sudo or as root, eg 18 19 sudo rclone genautocomplete bash 20 21 Logout and login again to use the autocompletion scripts, or source 22 them directly 23 24 . /etc/bash_completion 25 26 If you supply a command line argument the script will be written 27 there. 28 29 30 ``` 31 rclone genautocomplete bash [output_file] [flags] 32 ``` 33 34 ### Options 35 36 ``` 37 -h, --help help for bash 38 ``` 39 40 See the [global flags page](/flags/) for global options not listed here. 41 42 ### SEE ALSO 43 44 * [rclone genautocomplete](/commands/rclone_genautocomplete/) - Output completion script for a given shell. 45