Find config path using help - no longer displayed?

I might be mis-remembering - but didn’t rclone used to show the path of the config file if you browsed the -h / --help file? eg under the “available commands” list on the right-hand side – did this change?

=

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.

=

rclone -h

Rclone syncs files to and from cloud storage providers as well as
mounting them, listing them in lots of different ways.

See the home page (https://rclone.org/) for installation, usage,
documentation, changelog and configuration walkthroughs.

Usage:
rclone [flags]
rclone [command]

Available Commands:
about Get quota information from the remote.
authorize Remote authorization.
cachestats Print cache stats for a remote
cat Concatenates any files and sends them to stdout.
check Checks the files in the source and destination match.
cleanup Clean up the remote if possible
config Enter an interactive configuration session.
copy Copy files from source to dest, skipping already copied
copyto Copy files from source to dest, skipping already copied
copyurl Copy url content to dest.
cryptcheck Cryptcheck checks the integrity of a crypted remote.
cryptdecode Cryptdecode returns unencrypted file names.
dbhashsum Produces a Dropbox hash file for all the objects in the path.
dedupe Interactively find duplicate files and delete/rename them.
delete Remove the contents of path.
deletefile Remove a single file from remote.
genautocomplete Output completion script for a given shell.
gendocs Output markdown docs for rclone to the directory supplied.
hashsum Produces an hashsum file for all the objects in the path.
help Show help for rclone commands, flags and backends.
link Generate public link to file/folder.
listremotes List all the remotes in the config file.
ls List the objects in the path with size and path.
lsd List all directories/containers/buckets in the path.
lsf List directories and objects in remote:path formatted for parsing
lsjson List directories and objects in the path in JSON format.
lsl List the objects in path with modification time, size and path.
md5sum Produces an md5sum file for all the objects in the path.
mkdir Make the path if it doesn’t already exist.
mount Mount the remote as file system on a mountpoint.
move Move files from source to dest.
moveto Move file or directory from source to dest.
ncdu Explore a remote with a text based user interface.
obscure Obscure password for use in the rclone.conf
purge Remove the path and all of its contents.
rc Run a command against a running rclone.
rcat Copies standard input to file on remote.
rmdir Remove the path if empty.
rmdirs Remove empty directories under the path.
serve Serve a remote over a protocol.
settier Changes storage class/tier of objects in remote.
sha1sum Produces an sha1sum file for all the objects in the path.
size Prints the total size and number of objects in remote:path.
sync Make source and dest identical, modifying destination only.
touch Create new file or change file modification time.
tree List the contents of the remote in a tree like fashion.
version Show the version number.

Use “rclone [command] --help” for more information about a command.
Use “rclone help flags” for to see the global flags.
Use “rclone help backends” for a list of supported services.

=

rclone config --help

Enter an interactive configuration session where you can setup new
remotes and manage existing ones. You may also set or remove a
password to protect your configuration.

Usage:
rclone config [flags]
rclone config [command]

Available Commands:
create Create a new remote with name, type and options.
delete Delete an existing remote .
dump Dump the config file as JSON.
edit Enter an interactive configuration session.
file Show path of configuration file in use.
password Update password in an existing remote.
providers List in JSON format all the providers and options.
show Print (decrypted) config file, or the config for a single remote.
update Update options in an existing remote.

Flags:
-h, --help help for config

Use “rclone [command] --help” for more information about a command.
Use “rclone help flags” for to see the global flags.
Use “rclone help backends” for a list of supported services.

It’s.

felix@gemini:~$ rclone config file
Configuration file is stored at:
/data/rclone/rclone.conf
2 Likes

the command I see now is:

rclone config file

maybe this could be added to the FAQ second paragraph:
https://rclone.org/faq/

1 Like

ah thanks for the reply. I figured it out from reading the help whilst posting, but the FAQ could be simplified maybe? (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) v (If you want to find this file, run rclone config file)

By all means, you can submit a pull request on that to help clean it up :slight_smile:

1 Like

the instructions on this page are outdated also I think(?)

https://rclone.org/remote_setup/

=
Configuring by copying the config file

Rclone stores all of its config in a single configuration file. This can easily be copied to configure a remote rclone.

So first configure rclone on your desktop machine

rclone config
to set up the config file.

Find the config file by running rclone -h and looking for the help for the --config option

$ rclone -h
[snip]
–config="/home/user/.rclone.conf": Config file.
[snip]
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).

@foobar - well spotted!

Do you want to send a pull request to fix these up? Note that you only need to fix the docs in docs/content - those are the master files!

I’m not sure how to send a pull request (?)

No worries. I’ve made those changes to the docs now which will go live at the next release.

1 Like

great - thank you @ncw :slight_smile: