From 6530b07cdee2ec8d0a729e1e8ea693b755431ab6 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 27 Aug 2015 19:46:28 +0100 Subject: [PATCH] FAQ entry about copying the config file --- docs/content/faq.md | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/docs/content/faq.md b/docs/content/faq.md index e442ec0c7..3c14d4312 100644 --- a/docs/content/faq.md +++ b/docs/content/faq.md @@ -1,7 +1,7 @@ --- title: "FAQ" description: "Rclone Frequently Asked Questions" -date: "2015-06-06" +date: "2015-08-27" --- Frequently Asked Questions @@ -13,6 +13,31 @@ Yes they do. All the rclone commands (eg `sync`, `copy` etc) will 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. Eg, + +``` +$ rclone -h +Sync files and directories to and from local and remote object stores - v1.18. +[snip] +Options: + --bwlimit=0: Bandwidth limit in kBytes/s, or use suffix k|M|G + --checkers=8: Number of checkers to run in parallel. + -c, --checksum=false: Skip based on checksum & size, not mod-time & size + --config="/home/user/.rclone.conf": Config file. +[snip] +``` + +So in this config the config file can be found in +`/home/user/.rclone.conf`. + +Just copy that to the equivalent place in the destination (run `rclone +-h` above again on the destination machine if not sure). + + ### Can rclone sync directly from drive to s3 ### Rclone can sync between two remote cloud storage systems just fine.