rclone/fs/config
Nick Craig-Wood d3d843a11d fs: warn the user when using a remote name without a colon
A very common mistake for new users of rclone is to use a remote name
without a colon. This can be on the command line or in the config when
setting up a crypt backend.

This change checks to see if the user uses a path which matches a
remote name and gives an NOTICE like this if they do

    NOTICE: "remote" refers to a local folder, use "remote:" to refer to your remote or "./remote" to hide this warning

See: https://forum.rclone.org/t/sync-to-onedrive-personal-lands-file-in-localfilesystem-but-not-in-onedrive/32956
2022-09-13 18:06:19 +01:00
..
configfile config: move locking to fix fatal error: concurrent map read and map write 2022-09-05 12:11:06 +01:00
configflags operations: add --server-side-across-configs global flag for any backend 2022-07-11 18:17:42 +01:00
configmap all: fix spelling across the project 2022-08-30 11:16:26 +02:00
configstruct Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
flags config: fixed issues with flags/options set by environment vars. 2021-07-05 16:38:20 +01:00
obscure Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
testdata Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
authorize.go build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
config.go fs: warn the user when using a remote name without a colon 2022-09-13 18:06:19 +01:00
config_read_password.go fs/config, lib/terminal: use golang.org/x/term 2022-04-01 12:48:18 +01:00
config_read_password_unsupported.go fs/config, lib/terminal: use golang.org/x/term 2022-04-01 12:48:18 +01:00
config_test.go config: delay load config file (#5258) 2021-04-26 23:37:49 +02:00
crypt.go Error strings should not be capitalized 2022-06-23 23:26:02 +02:00
crypt_internal_test.go config: split up main file more and move tests into correct packages 2021-03-11 17:29:26 +00:00
crypt_test.go config: delay load config file (#5258) 2021-04-26 23:37:49 +02:00
default_storage.go config: replace defaultConfig with a thread-safe in-memory implementation 2021-05-07 16:04:09 +01:00
default_storage_test.go config: replace defaultConfig with a thread-safe in-memory implementation 2021-05-07 16:04:09 +01:00
rc.go docs: cross link doc pages for related commands 2022-06-21 23:43:00 +02:00
rc_test.go config: delay load config file (#5258) 2021-04-26 23:37:49 +02:00
ui.go config: ajust section headers to improve readability 2022-06-08 19:24:38 +02:00
ui_test.go config: fix handling of default, exclusive and required properties of multiple-choice options 2022-01-16 14:57:38 +01:00