local: implement backend command "noop" for testing purposes

This commit is contained in:
Nick Craig-Wood 2020-04-28 13:01:55 +01:00
parent 1aa1a2c174
commit e2916f3a55
2 changed files with 76 additions and 0 deletions

View file

@ -424,4 +424,34 @@ See: the [encoding section in the overview](/overview/#encoding) for more info.
- Type: MultiEncoder
- Default: Slash,Dot
### Backend commands
Here are the commands specific to the local backend.
Run them with with
rclone backend COMMAND remote:
The help below will explain what arguments each command takes.
See [the "rclone backend" command](/commands/rclone_backend/) for more
info on how to pass options and arguments.
These can be run on a running backend using the rc command
[backend/command](/rc/#backend/command).
#### noop
A null operation for testing backend commands
rclone backend noop remote: [options] [<arguments>+]
This is a test command which has some options
you can try to change the output.
Options:
- "echo": echo the input arguments
- "error": return an error based on option value
<!--- autogenerated options stop -->