Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

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

Nick Craig-Wood5e5578d2c36f
diff --git a/docs/content/docs.md b/docs/content/docs.md
index 4ce2fb8b5..199f16f43 100644
--- a/docs/content/docs.md
+++ b/docs/content/docs.md
@@ -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`.
diff --git a/docs/content/faq.md b/docs/content/faq.md
index d267f295e..a471554fb 100644
--- a/docs/content/faq.md
+++ b/docs/content/faq.md
@@ -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.
diff --git a/docs/content/remote_setup.md b/docs/content/remote_setup.md
index 67de10845..09f2a083f 100644
--- a/docs/content/remote_setup.md
+++ b/docs/content/remote_setup.md
@@ -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).