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

s3-about
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
`$XDG_CONFIG_HOME/rclone/rclone.conf`
If you run `rclone -h` and look at the help for the `--config` option
you will see where the default location is for you.
If you run `rclone config file` you will see where the default
location is for you.
Use this flag to override the config location, eg `rclone
--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 ###
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
the help for the `--config` flag which will tell you where it is.
to find this file, run `rclone config file` which will tell you where
it is.
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.
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
[snip]
--config="/home/user/.rclone.conf": Config file.
[snip]
$ rclone config file
Configuration file is stored at:
/home/user/.rclone.conf
```
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
find out where).
place it in the correct place (use `rclone config file` on the remote
box to find out where).