github.com/ncw/rclone@v1.48.1-0.20190724201158-a35aa1360e3e/docs/content/commands/rclone_rc.md (about) 1 --- 2 date: 2019-06-20T16:09:42+01:00 3 title: "rclone rc" 4 slug: rclone_rc 5 url: /commands/rclone_rc/ 6 --- 7 ## rclone rc 8 9 Run a command against a running rclone. 10 11 ### Synopsis 12 13 14 15 This runs a command against a running rclone. Use the --url flag to 16 specify an non default URL to connect on. This can be either a 17 ":port" which is taken to mean "http://localhost:port" or a 18 "host:port" which is taken to mean "http://host:port" 19 20 A username and password can be passed in with --user and --pass. 21 22 Note that --rc-addr, --rc-user, --rc-pass will be read also for --url, 23 --user, --pass. 24 25 Arguments should be passed in as parameter=value. 26 27 The result will be returned as a JSON object by default. 28 29 The --json parameter can be used to pass in a JSON blob as an input 30 instead of key=value arguments. This is the only way of passing in 31 more complicated values. 32 33 Use --loopback to connect to the rclone instance running "rclone rc". 34 This is very useful for testing commands without having to run an 35 rclone rc server, eg: 36 37 rclone rc --loopback operations/about fs=/ 38 39 Use "rclone rc" to see a list of all possible commands. 40 41 ``` 42 rclone rc commands parameter [flags] 43 ``` 44 45 ### Options 46 47 ``` 48 -h, --help help for rc 49 --json string Input JSON - use instead of key=value args. 50 --loopback If set connect to this rclone instance not via HTTP. 51 --no-output If set don't output the JSON result. 52 --pass string Password to use to connect to rclone remote control. 53 --url string URL to connect to rclone remote control. (default "http://localhost:5572/") 54 --user string Username to use to rclone remote control. 55 ``` 56 57 See the [global flags page](/flags/) for global options not listed here. 58 59 ### SEE ALSO 60 61 * [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends. 62