docs: environment variable remote name only supports letters, digits, or underscores

This commit is contained in:
James Braza 2023-08-09 03:42:04 -07:00 committed by GitHub
parent 45887d11f6
commit d0362171cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -2604,6 +2604,9 @@ for each backend.
To find the name of the environment variable, you need to set, take
`RCLONE_CONFIG_` + name of remote + `_` + name of config file option
and make it all uppercase.
Note one implication here is the remote's name must be
convertible into a valid environment variable name,
so it can only contain letters, digits, or the `_` (underscore) character.
For example, to configure an S3 remote named `mys3:` without a config
file (using unix ways of setting environment variables):