Version v1.49.0
This commit is contained in:
parent
a992a910ef
commit
a6387e1f81
86 changed files with 10711 additions and 4030 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone"
|
||||
slug: rclone
|
||||
url: /commands/rclone/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone about"
|
||||
slug: rclone_about
|
||||
url: /commands/rclone_about/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone authorize"
|
||||
slug: rclone_authorize
|
||||
url: /commands/rclone_authorize/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone cachestats"
|
||||
slug: rclone_cachestats
|
||||
url: /commands/rclone_cachestats/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone cat"
|
||||
slug: rclone_cat
|
||||
url: /commands/rclone_cat/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone check"
|
||||
slug: rclone_check
|
||||
url: /commands/rclone_check/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone cleanup"
|
||||
slug: rclone_cleanup
|
||||
url: /commands/rclone_cleanup/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone config"
|
||||
slug: rclone_config
|
||||
url: /commands/rclone_config/
|
||||
|
@ -32,11 +32,14 @@ See the [global flags page](/flags/) for global options not listed here.
|
|||
* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
|
||||
* [rclone config create](/commands/rclone_config_create/) - Create a new remote with name, type and options.
|
||||
* [rclone config delete](/commands/rclone_config_delete/) - Delete an existing remote <name>.
|
||||
* [rclone config disconnect](/commands/rclone_config_disconnect/) - Disconnects user from remote
|
||||
* [rclone config dump](/commands/rclone_config_dump/) - Dump the config file as JSON.
|
||||
* [rclone config edit](/commands/rclone_config_edit/) - Enter an interactive configuration session.
|
||||
* [rclone config file](/commands/rclone_config_file/) - Show path of configuration file in use.
|
||||
* [rclone config password](/commands/rclone_config_password/) - Update password in an existing remote.
|
||||
* [rclone config providers](/commands/rclone_config_providers/) - List in JSON format all the providers and options.
|
||||
* [rclone config reconnect](/commands/rclone_config_reconnect/) - Re-authenticates user with remote.
|
||||
* [rclone config show](/commands/rclone_config_show/) - Print (decrypted) config file, or the config for a single remote.
|
||||
* [rclone config update](/commands/rclone_config_update/) - Update options in an existing remote.
|
||||
* [rclone config userinfo](/commands/rclone_config_userinfo/) - Prints info about logged in user of remote.
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone config create"
|
||||
slug: rclone_config_create
|
||||
url: /commands/rclone_config_create/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone config delete"
|
||||
slug: rclone_config_delete
|
||||
url: /commands/rclone_config_delete/
|
||||
|
|
36
docs/content/commands/rclone_config_disconnect.md
Normal file
36
docs/content/commands/rclone_config_disconnect.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone config disconnect"
|
||||
slug: rclone_config_disconnect
|
||||
url: /commands/rclone_config_disconnect/
|
||||
---
|
||||
## rclone config disconnect
|
||||
|
||||
Disconnects user from remote
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
This disconnects the remote: passed in to the cloud storage system.
|
||||
|
||||
This normally means revoking the oauth token.
|
||||
|
||||
To reconnect use "rclone config reconnect".
|
||||
|
||||
|
||||
```
|
||||
rclone config disconnect remote: [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for disconnect
|
||||
```
|
||||
|
||||
See the [global flags page](/flags/) for global options not listed here.
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [rclone config](/commands/rclone_config/) - Enter an interactive configuration session.
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone config dump"
|
||||
slug: rclone_config_dump
|
||||
url: /commands/rclone_config_dump/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone config edit"
|
||||
slug: rclone_config_edit
|
||||
url: /commands/rclone_config_edit/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone config file"
|
||||
slug: rclone_config_file
|
||||
url: /commands/rclone_config_file/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone config password"
|
||||
slug: rclone_config_password
|
||||
url: /commands/rclone_config_password/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone config providers"
|
||||
slug: rclone_config_providers
|
||||
url: /commands/rclone_config_providers/
|
||||
|
|
36
docs/content/commands/rclone_config_reconnect.md
Normal file
36
docs/content/commands/rclone_config_reconnect.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone config reconnect"
|
||||
slug: rclone_config_reconnect
|
||||
url: /commands/rclone_config_reconnect/
|
||||
---
|
||||
## rclone config reconnect
|
||||
|
||||
Re-authenticates user with remote.
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
This reconnects remote: passed in to the cloud storage system.
|
||||
|
||||
To disconnect the remote use "rclone config disconnect".
|
||||
|
||||
This normally means going through the interactive oauth flow again.
|
||||
|
||||
|
||||
```
|
||||
rclone config reconnect remote: [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for reconnect
|
||||
```
|
||||
|
||||
See the [global flags page](/flags/) for global options not listed here.
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [rclone config](/commands/rclone_config/) - Enter an interactive configuration session.
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone config show"
|
||||
slug: rclone_config_show
|
||||
url: /commands/rclone_config_show/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone config update"
|
||||
slug: rclone_config_update
|
||||
url: /commands/rclone_config_update/
|
||||
|
|
34
docs/content/commands/rclone_config_userinfo.md
Normal file
34
docs/content/commands/rclone_config_userinfo.md
Normal file
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone config userinfo"
|
||||
slug: rclone_config_userinfo
|
||||
url: /commands/rclone_config_userinfo/
|
||||
---
|
||||
## rclone config userinfo
|
||||
|
||||
Prints info about logged in user of remote.
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
This prints the details of the person logged in to the cloud storage
|
||||
system.
|
||||
|
||||
|
||||
```
|
||||
rclone config userinfo remote: [flags]
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for userinfo
|
||||
--json Format output as JSON
|
||||
```
|
||||
|
||||
See the [global flags page](/flags/) for global options not listed here.
|
||||
|
||||
### SEE ALSO
|
||||
|
||||
* [rclone config](/commands/rclone_config/) - Enter an interactive configuration session.
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone copy"
|
||||
slug: rclone_copy
|
||||
url: /commands/rclone_copy/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone copyto"
|
||||
slug: rclone_copyto
|
||||
url: /commands/rclone_copyto/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone copyurl"
|
||||
slug: rclone_copyurl
|
||||
url: /commands/rclone_copyurl/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone cryptcheck"
|
||||
slug: rclone_cryptcheck
|
||||
url: /commands/rclone_cryptcheck/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone cryptdecode"
|
||||
slug: rclone_cryptdecode
|
||||
url: /commands/rclone_cryptdecode/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone dbhashsum"
|
||||
slug: rclone_dbhashsum
|
||||
url: /commands/rclone_dbhashsum/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone dedupe"
|
||||
slug: rclone_dedupe
|
||||
url: /commands/rclone_dedupe/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone delete"
|
||||
slug: rclone_delete
|
||||
url: /commands/rclone_delete/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone deletefile"
|
||||
slug: rclone_deletefile
|
||||
url: /commands/rclone_deletefile/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone genautocomplete"
|
||||
slug: rclone_genautocomplete
|
||||
url: /commands/rclone_genautocomplete/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone genautocomplete bash"
|
||||
slug: rclone_genautocomplete_bash
|
||||
url: /commands/rclone_genautocomplete_bash/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone genautocomplete zsh"
|
||||
slug: rclone_genautocomplete_zsh
|
||||
url: /commands/rclone_genautocomplete_zsh/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone gendocs"
|
||||
slug: rclone_gendocs
|
||||
url: /commands/rclone_gendocs/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone hashsum"
|
||||
slug: rclone_hashsum
|
||||
url: /commands/rclone_hashsum/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone link"
|
||||
slug: rclone_link
|
||||
url: /commands/rclone_link/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone listremotes"
|
||||
slug: rclone_listremotes
|
||||
url: /commands/rclone_listremotes/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone ls"
|
||||
slug: rclone_ls
|
||||
url: /commands/rclone_ls/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone lsd"
|
||||
slug: rclone_lsd
|
||||
url: /commands/rclone_lsd/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone lsf"
|
||||
slug: rclone_lsf
|
||||
url: /commands/rclone_lsf/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone lsjson"
|
||||
slug: rclone_lsjson
|
||||
url: /commands/rclone_lsjson/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone lsl"
|
||||
slug: rclone_lsl
|
||||
url: /commands/rclone_lsl/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone md5sum"
|
||||
slug: rclone_md5sum
|
||||
url: /commands/rclone_md5sum/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone mkdir"
|
||||
slug: rclone_mkdir
|
||||
url: /commands/rclone_mkdir/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone mount"
|
||||
slug: rclone_mount
|
||||
url: /commands/rclone_mount/
|
||||
|
@ -74,10 +74,7 @@ applications won't work with their files on an rclone mount without
|
|||
Caching](#file-caching) section for more info.
|
||||
|
||||
The bucket based remotes (eg Swift, S3, Google Compute Storage, B2,
|
||||
Hubic) won't work from the root - you will need to specify a bucket,
|
||||
or a path within the bucket. So `swift:` won't work whereas
|
||||
`swift:bucket` will as will `swift:bucket/path`.
|
||||
None of these support the concept of directories, so empty
|
||||
Hubic) do not support the concept of empty directories, so empty
|
||||
directories will have a tendency to disappear once they fall out of
|
||||
the directory cache.
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone move"
|
||||
slug: rclone_move
|
||||
url: /commands/rclone_move/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone moveto"
|
||||
slug: rclone_moveto
|
||||
url: /commands/rclone_moveto/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone ncdu"
|
||||
slug: rclone_ncdu
|
||||
url: /commands/rclone_ncdu/
|
||||
|
@ -31,6 +31,7 @@ Here are the keys - press '?' to toggle the help on and off
|
|||
g toggle graph
|
||||
n,s,C sort by name,size,count
|
||||
d delete file/directory
|
||||
Y display current path
|
||||
^L refresh screen
|
||||
? to toggle help on and off
|
||||
q/ESC/c-C to quit
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone obscure"
|
||||
slug: rclone_obscure
|
||||
url: /commands/rclone_obscure/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone purge"
|
||||
slug: rclone_purge
|
||||
url: /commands/rclone_purge/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone rc"
|
||||
slug: rclone_rc
|
||||
url: /commands/rclone_rc/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone rcat"
|
||||
slug: rclone_rcat
|
||||
url: /commands/rclone_rcat/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone rcd"
|
||||
slug: rclone_rcd
|
||||
url: /commands/rclone_rcd/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone rmdir"
|
||||
slug: rclone_rmdir
|
||||
url: /commands/rclone_rmdir/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone rmdirs"
|
||||
slug: rclone_rmdirs
|
||||
url: /commands/rclone_rmdirs/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone serve"
|
||||
slug: rclone_serve
|
||||
url: /commands/rclone_serve/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone serve dlna"
|
||||
slug: rclone_serve_dlna
|
||||
url: /commands/rclone_serve_dlna/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone serve ftp"
|
||||
slug: rclone_serve_ftp
|
||||
url: /commands/rclone_serve_ftp/
|
||||
|
@ -165,6 +165,72 @@ This mode should support all normal file system operations.
|
|||
If an upload or download fails it will be retried up to
|
||||
--low-level-retries times.
|
||||
|
||||
### Auth Proxy
|
||||
|
||||
If you supply the parameter `--auth-proxy /path/to/program` then
|
||||
rclone will use that program to generate backends on the fly which
|
||||
then are used to authenticate incoming requests. This uses a simple
|
||||
JSON based protocl with input on STDIN and output on STDOUT.
|
||||
|
||||
There is an example program
|
||||
[bin/test_proxy.py](https://github.com/rclone/rclone/blob/master/test_proxy.py)
|
||||
in the rclone source code.
|
||||
|
||||
The program's job is to take a `user` and `pass` on the input and turn
|
||||
those into the config for a backend on STDOUT in JSON format. This
|
||||
config will have any default parameters for the backend added, but it
|
||||
won't use configuration from environment variables or command line
|
||||
options - it is the job of the proxy program to make a complete
|
||||
config.
|
||||
|
||||
This config generated must have this extra parameter
|
||||
- `_root` - root to use for the backend
|
||||
|
||||
And it may have this parameter
|
||||
- `_obscure` - comma separated strings for parameters to obscure
|
||||
|
||||
For example the program might take this on STDIN
|
||||
|
||||
```
|
||||
{
|
||||
"user": "me",
|
||||
"pass": "mypassword"
|
||||
}
|
||||
```
|
||||
|
||||
And return this on STDOUT
|
||||
|
||||
```
|
||||
{
|
||||
"type": "sftp",
|
||||
"_root": "",
|
||||
"_obscure": "pass",
|
||||
"user": "me",
|
||||
"pass": "mypassword",
|
||||
"host": "sftp.example.com"
|
||||
}
|
||||
```
|
||||
|
||||
This would mean that an SFTP backend would be created on the fly for
|
||||
the `user` and `pass` returned in the output to the host given. Note
|
||||
that since `_obscure` is set to `pass`, rclone will obscure the `pass`
|
||||
parameter before creating the backend (which is required for sftp
|
||||
backends).
|
||||
|
||||
The progam can manipulate the supplied `user` in any way, for example
|
||||
to make proxy to many different sftp backends, you could make the
|
||||
`user` be `user@example.com` and then set the `host` to `example.com`
|
||||
in the output and the user to `user`. For security you'd probably want
|
||||
to restrict the `host` to a limited list.
|
||||
|
||||
Note that an internal cache is keyed on `user` so only use that for
|
||||
configuration, don't use `pass`. This also means that if a user's
|
||||
password is changed the cache will need to expire (which takes 5 mins)
|
||||
before it takes effect.
|
||||
|
||||
This can be used to build general purpose proxies to any kind of
|
||||
backend that rclone supports.
|
||||
|
||||
|
||||
```
|
||||
rclone serve ftp remote:path [flags]
|
||||
|
@ -174,6 +240,7 @@ rclone serve ftp remote:path [flags]
|
|||
|
||||
```
|
||||
--addr string IPaddress:Port or :Port to bind server to. (default "localhost:2121")
|
||||
--auth-proxy string A program to use to create the backend from the auth.
|
||||
--dir-cache-time duration Time to cache directory entries for. (default 5m0s)
|
||||
--dir-perms FileMode Directory permissions (default 0777)
|
||||
--file-perms FileMode File permissions (default 0666)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone serve http"
|
||||
slug: rclone_serve_http
|
||||
url: /commands/rclone_serve_http/
|
||||
|
@ -39,6 +39,14 @@ for a transfer.
|
|||
--max-header-bytes controls the maximum number of bytes the server will
|
||||
accept in the HTTP header.
|
||||
|
||||
--baseurl controls the URL prefix that rclone serves from. By default
|
||||
rclone will serve from the root. If you used --baseurl "/rclone" then
|
||||
rclone would serve from a URL starting with "/rclone/". This is
|
||||
useful if you wish to proxy rclone serve. Rclone automatically
|
||||
inserts leading and trailing "/" on --baseurl, so --baseurl "rclone",
|
||||
--baseurl "/rclone" and --baseurl "/rclone/" are all treated
|
||||
identically.
|
||||
|
||||
#### Authentication
|
||||
|
||||
By default this will serve files without needing a login.
|
||||
|
@ -215,6 +223,7 @@ rclone serve http remote:path [flags]
|
|||
|
||||
```
|
||||
--addr string IPaddress:Port or :Port to bind server to. (default "localhost:8080")
|
||||
--baseurl string Prefix for URLs - leave blank for root.
|
||||
--cert string SSL PEM key (concatenation of certificate and CA certificate)
|
||||
--client-ca string Client certificate authority to verify clients with
|
||||
--dir-cache-time duration Time to cache directory entries for. (default 5m0s)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone serve restic"
|
||||
slug: rclone_serve_restic
|
||||
url: /commands/rclone_serve_restic/
|
||||
|
@ -105,6 +105,14 @@ for a transfer.
|
|||
--max-header-bytes controls the maximum number of bytes the server will
|
||||
accept in the HTTP header.
|
||||
|
||||
--baseurl controls the URL prefix that rclone serves from. By default
|
||||
rclone will serve from the root. If you used --baseurl "/rclone" then
|
||||
rclone would serve from a URL starting with "/rclone/". This is
|
||||
useful if you wish to proxy rclone serve. Rclone automatically
|
||||
inserts leading and trailing "/" on --baseurl, so --baseurl "rclone",
|
||||
--baseurl "/rclone" and --baseurl "/rclone/" are all treated
|
||||
identically.
|
||||
|
||||
#### Authentication
|
||||
|
||||
By default this will serve files without needing a login.
|
||||
|
@ -148,6 +156,7 @@ rclone serve restic remote:path [flags]
|
|||
```
|
||||
--addr string IPaddress:Port or :Port to bind server to. (default "localhost:8080")
|
||||
--append-only disallow deletion of repository data
|
||||
--baseurl string Prefix for URLs - leave blank for root.
|
||||
--cert string SSL PEM key (concatenation of certificate and CA certificate)
|
||||
--client-ca string Client certificate authority to verify clients with
|
||||
-h, --help help for restic
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone serve sftp"
|
||||
slug: rclone_serve_sftp
|
||||
url: /commands/rclone_serve_sftp/
|
||||
|
@ -176,6 +176,72 @@ This mode should support all normal file system operations.
|
|||
If an upload or download fails it will be retried up to
|
||||
--low-level-retries times.
|
||||
|
||||
### Auth Proxy
|
||||
|
||||
If you supply the parameter `--auth-proxy /path/to/program` then
|
||||
rclone will use that program to generate backends on the fly which
|
||||
then are used to authenticate incoming requests. This uses a simple
|
||||
JSON based protocl with input on STDIN and output on STDOUT.
|
||||
|
||||
There is an example program
|
||||
[bin/test_proxy.py](https://github.com/rclone/rclone/blob/master/test_proxy.py)
|
||||
in the rclone source code.
|
||||
|
||||
The program's job is to take a `user` and `pass` on the input and turn
|
||||
those into the config for a backend on STDOUT in JSON format. This
|
||||
config will have any default parameters for the backend added, but it
|
||||
won't use configuration from environment variables or command line
|
||||
options - it is the job of the proxy program to make a complete
|
||||
config.
|
||||
|
||||
This config generated must have this extra parameter
|
||||
- `_root` - root to use for the backend
|
||||
|
||||
And it may have this parameter
|
||||
- `_obscure` - comma separated strings for parameters to obscure
|
||||
|
||||
For example the program might take this on STDIN
|
||||
|
||||
```
|
||||
{
|
||||
"user": "me",
|
||||
"pass": "mypassword"
|
||||
}
|
||||
```
|
||||
|
||||
And return this on STDOUT
|
||||
|
||||
```
|
||||
{
|
||||
"type": "sftp",
|
||||
"_root": "",
|
||||
"_obscure": "pass",
|
||||
"user": "me",
|
||||
"pass": "mypassword",
|
||||
"host": "sftp.example.com"
|
||||
}
|
||||
```
|
||||
|
||||
This would mean that an SFTP backend would be created on the fly for
|
||||
the `user` and `pass` returned in the output to the host given. Note
|
||||
that since `_obscure` is set to `pass`, rclone will obscure the `pass`
|
||||
parameter before creating the backend (which is required for sftp
|
||||
backends).
|
||||
|
||||
The progam can manipulate the supplied `user` in any way, for example
|
||||
to make proxy to many different sftp backends, you could make the
|
||||
`user` be `user@example.com` and then set the `host` to `example.com`
|
||||
in the output and the user to `user`. For security you'd probably want
|
||||
to restrict the `host` to a limited list.
|
||||
|
||||
Note that an internal cache is keyed on `user` so only use that for
|
||||
configuration, don't use `pass`. This also means that if a user's
|
||||
password is changed the cache will need to expire (which takes 5 mins)
|
||||
before it takes effect.
|
||||
|
||||
This can be used to build general purpose proxies to any kind of
|
||||
backend that rclone supports.
|
||||
|
||||
|
||||
```
|
||||
rclone serve sftp remote:path [flags]
|
||||
|
@ -185,6 +251,7 @@ rclone serve sftp remote:path [flags]
|
|||
|
||||
```
|
||||
--addr string IPaddress:Port or :Port to bind server to. (default "localhost:2022")
|
||||
--auth-proxy string A program to use to create the backend from the auth.
|
||||
--authorized-keys string Authorized keys file (default "~/.ssh/authorized_keys")
|
||||
--dir-cache-time duration Time to cache directory entries for. (default 5m0s)
|
||||
--dir-perms FileMode Directory permissions (default 0777)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone serve webdav"
|
||||
slug: rclone_serve_webdav
|
||||
url: /commands/rclone_serve_webdav/
|
||||
|
@ -47,6 +47,14 @@ for a transfer.
|
|||
--max-header-bytes controls the maximum number of bytes the server will
|
||||
accept in the HTTP header.
|
||||
|
||||
--baseurl controls the URL prefix that rclone serves from. By default
|
||||
rclone will serve from the root. If you used --baseurl "/rclone" then
|
||||
rclone would serve from a URL starting with "/rclone/". This is
|
||||
useful if you wish to proxy rclone serve. Rclone automatically
|
||||
inserts leading and trailing "/" on --baseurl, so --baseurl "rclone",
|
||||
--baseurl "/rclone" and --baseurl "/rclone/" are all treated
|
||||
identically.
|
||||
|
||||
#### Authentication
|
||||
|
||||
By default this will serve files without needing a login.
|
||||
|
@ -214,6 +222,72 @@ This mode should support all normal file system operations.
|
|||
If an upload or download fails it will be retried up to
|
||||
--low-level-retries times.
|
||||
|
||||
### Auth Proxy
|
||||
|
||||
If you supply the parameter `--auth-proxy /path/to/program` then
|
||||
rclone will use that program to generate backends on the fly which
|
||||
then are used to authenticate incoming requests. This uses a simple
|
||||
JSON based protocl with input on STDIN and output on STDOUT.
|
||||
|
||||
There is an example program
|
||||
[bin/test_proxy.py](https://github.com/rclone/rclone/blob/master/test_proxy.py)
|
||||
in the rclone source code.
|
||||
|
||||
The program's job is to take a `user` and `pass` on the input and turn
|
||||
those into the config for a backend on STDOUT in JSON format. This
|
||||
config will have any default parameters for the backend added, but it
|
||||
won't use configuration from environment variables or command line
|
||||
options - it is the job of the proxy program to make a complete
|
||||
config.
|
||||
|
||||
This config generated must have this extra parameter
|
||||
- `_root` - root to use for the backend
|
||||
|
||||
And it may have this parameter
|
||||
- `_obscure` - comma separated strings for parameters to obscure
|
||||
|
||||
For example the program might take this on STDIN
|
||||
|
||||
```
|
||||
{
|
||||
"user": "me",
|
||||
"pass": "mypassword"
|
||||
}
|
||||
```
|
||||
|
||||
And return this on STDOUT
|
||||
|
||||
```
|
||||
{
|
||||
"type": "sftp",
|
||||
"_root": "",
|
||||
"_obscure": "pass",
|
||||
"user": "me",
|
||||
"pass": "mypassword",
|
||||
"host": "sftp.example.com"
|
||||
}
|
||||
```
|
||||
|
||||
This would mean that an SFTP backend would be created on the fly for
|
||||
the `user` and `pass` returned in the output to the host given. Note
|
||||
that since `_obscure` is set to `pass`, rclone will obscure the `pass`
|
||||
parameter before creating the backend (which is required for sftp
|
||||
backends).
|
||||
|
||||
The progam can manipulate the supplied `user` in any way, for example
|
||||
to make proxy to many different sftp backends, you could make the
|
||||
`user` be `user@example.com` and then set the `host` to `example.com`
|
||||
in the output and the user to `user`. For security you'd probably want
|
||||
to restrict the `host` to a limited list.
|
||||
|
||||
Note that an internal cache is keyed on `user` so only use that for
|
||||
configuration, don't use `pass`. This also means that if a user's
|
||||
password is changed the cache will need to expire (which takes 5 mins)
|
||||
before it takes effect.
|
||||
|
||||
This can be used to build general purpose proxies to any kind of
|
||||
backend that rclone supports.
|
||||
|
||||
|
||||
```
|
||||
rclone serve webdav remote:path [flags]
|
||||
|
@ -223,6 +297,8 @@ rclone serve webdav remote:path [flags]
|
|||
|
||||
```
|
||||
--addr string IPaddress:Port or :Port to bind server to. (default "localhost:8080")
|
||||
--auth-proxy string A program to use to create the backend from the auth.
|
||||
--baseurl string Prefix for URLs - leave blank for root.
|
||||
--cert string SSL PEM key (concatenation of certificate and CA certificate)
|
||||
--client-ca string Client certificate authority to verify clients with
|
||||
--dir-cache-time duration Time to cache directory entries for. (default 5m0s)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone settier"
|
||||
slug: rclone_settier
|
||||
url: /commands/rclone_settier/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone sha1sum"
|
||||
slug: rclone_sha1sum
|
||||
url: /commands/rclone_sha1sum/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone size"
|
||||
slug: rclone_size
|
||||
url: /commands/rclone_size/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone sync"
|
||||
slug: rclone_sync
|
||||
url: /commands/rclone_sync/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone touch"
|
||||
slug: rclone_touch
|
||||
url: /commands/rclone_touch/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone tree"
|
||||
slug: rclone_tree
|
||||
url: /commands/rclone_tree/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-06-20T16:09:42+01:00
|
||||
date: 2019-08-26T15:19:45+01:00
|
||||
title: "rclone version"
|
||||
slug: rclone_version
|
||||
url: /commands/rclone_version/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue