Version v1.75.0
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
---
|
||||
title: "rclone config unset"
|
||||
description: "Unset options in an existing remote."
|
||||
versionIntroduced: v1.75
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/config/unset/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
# rclone config unset
|
||||
|
||||
Unset options in an existing remote.
|
||||
|
||||
## Synopsis
|
||||
|
||||
Remove one or more options from an existing remote. The options to
|
||||
remove should be passed in as a list of key names.
|
||||
|
||||
For example, to remove the `client_id` and `client_secret` options from
|
||||
a remote of name myremote you would do:
|
||||
|
||||
```sh
|
||||
rclone config unset myremote client_id client_secret
|
||||
```
|
||||
|
||||
This removes the keys from the config file entirely, which is different
|
||||
from setting them to an empty string with `config update`. Removing a
|
||||
key restores rclone's default behaviour for that option, whereas setting
|
||||
it to an empty string overrides the default with an empty value.
|
||||
|
||||
You can't unset the `type` of a remote - use `config delete` to remove
|
||||
the whole remote instead.
|
||||
|
||||
```
|
||||
rclone config unset name [key]+ [flags]
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
```
|
||||
-h, --help help for unset
|
||||
```
|
||||
|
||||
See the [global flags page](/flags/) for global options not listed here.
|
||||
|
||||
## See Also
|
||||
|
||||
<!-- markdownlint-capture -->
|
||||
<!-- markdownlint-disable ul-style line-length -->
|
||||
|
||||
* [rclone config](/commands/rclone_config/) - Enter an interactive configuration session.
|
||||
|
||||
|
||||
<!-- markdownlint-restore -->
|
||||
Reference in New Issue
Block a user