docs: rclone config file instead of rclone -h to find config file

This commit is contained in:
Nick Craig-Wood 2019-01-13 17:56:57 +00:00
parent 1318c6aec8
commit 5e5578d2c3
3 changed files with 10 additions and 11 deletions

View File

@ -437,8 +437,8 @@ Normally the config file is in your home directory as a file called
older version). If `$XDG_CONFIG_HOME` is set it will be at older version). If `$XDG_CONFIG_HOME` is set it will be at
`$XDG_CONFIG_HOME/rclone/rclone.conf` `$XDG_CONFIG_HOME/rclone/rclone.conf`
If you run `rclone -h` and look at the help for the `--config` option If you run `rclone config file` you will see where the default
you will see where the default location is for you. location is for you.
Use this flag to override the config location, eg `rclone Use this flag to override the config location, eg `rclone
--config=".myconfig" .config`. --config=".myconfig" .config`.

View File

@ -15,8 +15,8 @@ work on all the remote storage systems.
### Can I copy the config from one machine to another ### ### Can I copy the config from one machine to another ###
Sure! Rclone stores all of its config in a single file. If you want Sure! Rclone stores all of its config in a single file. If you want
to find this file, the simplest way is to run `rclone -h` and look at to find this file, run `rclone config file` which will tell you where
the help for the `--config` flag which will tell you where it is. it is.
See the [remote setup docs](/remote_setup/) for more info. See the [remote setup docs](/remote_setup/) for more info.

View File

@ -74,15 +74,14 @@ So first configure rclone on your desktop machine
to set up the config file. to set up the config file.
Find the config file by running `rclone -h` and looking for the help for the `--config` option Find the config file by running `rclone config file`, for example
``` ```
$ rclone -h $ rclone config file
[snip] Configuration file is stored at:
--config="/home/user/.rclone.conf": Config file. /home/user/.rclone.conf
[snip]
``` ```
Now transfer it to the remote box (scp, cut paste, ftp, sftp etc) and Now transfer it to the remote box (scp, cut paste, ftp, sftp etc) and
place it in the correct place (use `rclone -h` on the remote box to place it in the correct place (use `rclone config file` on the remote
find out where). box to find out where).