1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-25 20:53:28 +00:00

Version v1.71.1

This commit is contained in:
Nick Craig-Wood
2025-09-24 16:24:23 +01:00
parent 931ab7c4db
commit 1a98c36a73
100 changed files with 14327 additions and 9700 deletions

View File

@@ -13,17 +13,21 @@ Output bash completion script for rclone.
Generates a bash shell autocompletion script for rclone.
By default, when run without any arguments,
By default, when run without any arguments,
rclone completion bash
```sh
rclone completion bash
```
the generated script will be written to
/etc/bash_completion.d/rclone
```sh
/etc/bash_completion.d/rclone
```
and so rclone will probably need to be run as root, or with sudo.
If you supply a path to a file as the command line argument, then
If you supply a path to a file as the command line argument, then
the generated script will be written to that file, in which case
you should not need root privileges.
@@ -34,12 +38,13 @@ can logout and login again to use the autocompletion script.
Alternatively, you can source the script directly
. /path/to/my_bash_completion_scripts/rclone
```sh
. /path/to/my_bash_completion_scripts/rclone
```
and the autocompletion functionality will be added to your
current shell.
```
rclone completion bash [output_file] [flags]
```
@@ -54,5 +59,10 @@ See the [global flags page](/flags/) for global options not listed here.
## See Also
<!-- markdownlint-capture -->
<!-- markdownlint-disable ul-style line-length -->
* [rclone completion](/commands/rclone_completion/) - Output completion script for a given shell.
<!-- markdownlint-restore -->