mirror of
https://github.com/rclone/rclone.git
synced 2025-08-16 00:28:09 +02:00
docs: add note about use of user and logname environment variables for current username
This commit is contained in:
committed by
Nick Craig-Wood
parent
40024990b7
commit
fee0abf513
@ -2187,4 +2187,5 @@ For non backend configuration the order is as follows:
|
||||
- `HTTP_PROXY`, `HTTPS_PROXY` and `NO_PROXY` (or the lowercase versions thereof).
|
||||
- `HTTPS_PROXY` takes precedence over `HTTP_PROXY` for https requests.
|
||||
- The environment values may be either a complete URL or a "host[:port]" for, in which case the "http" scheme is assumed.
|
||||
- `USER` and `LOGNAME` values are used as fallbacks for current username. The primary method for looking up username is OS-specific: Windows API on Windows, real user ID in /etc/passwd on Unix systems. In the documentation the current username is simply referred to as `$USER`.
|
||||
- `RCLONE_CONFIG_DIR` - rclone **sets** this variable for use in config files and sub processes to point to the directory holding the config file.
|
||||
|
Reference in New Issue
Block a user