mirror of
https://github.com/rclone/rclone.git
synced 2025-06-02 10:03:12 +08:00
Version v1.51.0
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone"
|
||||
slug: rclone
|
||||
url: /commands/rclone/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone about"
|
||||
slug: rclone_about
|
||||
url: /commands/rclone_about/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone authorize"
|
||||
slug: rclone_authorize
|
||||
url: /commands/rclone_authorize/
|
||||
@ -15,6 +15,9 @@ Remote authorization. Used to authorize a remote or headless
|
||||
rclone from a machine with a browser - use as instructed by
|
||||
rclone config.
|
||||
|
||||
Use the --auth-no-open-browser to prevent rclone to open auth
|
||||
link in default browser automatically.
|
||||
|
||||
```
|
||||
rclone authorize [flags]
|
||||
```
|
||||
@ -22,8 +25,8 @@ rclone authorize [flags]
|
||||
### Options
|
||||
|
||||
```
|
||||
--auth-no-open-browser Do not automatically open auth link in default browser
|
||||
-h, --help help for authorize
|
||||
--auth-no-open-browser Do not automatically open auth link in default browser
|
||||
-h, --help help for authorize
|
||||
```
|
||||
|
||||
See the [global flags page](/flags/) for global options not listed here.
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone cachestats"
|
||||
slug: rclone_cachestats
|
||||
url: /commands/rclone_cachestats/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone cat"
|
||||
slug: rclone_cat
|
||||
url: /commands/rclone_cat/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone check"
|
||||
slug: rclone_check
|
||||
url: /commands/rclone_check/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone cleanup"
|
||||
slug: rclone_cleanup
|
||||
url: /commands/rclone_cleanup/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone config"
|
||||
slug: rclone_config
|
||||
url: /commands/rclone_config/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone config create"
|
||||
slug: rclone_config_create
|
||||
url: /commands/rclone_config_create/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone config delete"
|
||||
slug: rclone_config_delete
|
||||
url: /commands/rclone_config_delete/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone config disconnect"
|
||||
slug: rclone_config_disconnect
|
||||
url: /commands/rclone_config_disconnect/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone config dump"
|
||||
slug: rclone_config_dump
|
||||
url: /commands/rclone_config_dump/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone config edit"
|
||||
slug: rclone_config_edit
|
||||
url: /commands/rclone_config_edit/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone config file"
|
||||
slug: rclone_config_file
|
||||
url: /commands/rclone_config_file/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone config password"
|
||||
slug: rclone_config_password
|
||||
url: /commands/rclone_config_password/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone config providers"
|
||||
slug: rclone_config_providers
|
||||
url: /commands/rclone_config_providers/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone config reconnect"
|
||||
slug: rclone_config_reconnect
|
||||
url: /commands/rclone_config_reconnect/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone config show"
|
||||
slug: rclone_config_show
|
||||
url: /commands/rclone_config_show/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone config update"
|
||||
slug: rclone_config_update
|
||||
url: /commands/rclone_config_update/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone config userinfo"
|
||||
slug: rclone_config_userinfo
|
||||
url: /commands/rclone_config_userinfo/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone copy"
|
||||
slug: rclone_copy
|
||||
url: /commands/rclone_copy/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone copyto"
|
||||
slug: rclone_copyto
|
||||
url: /commands/rclone_copyto/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone copyurl"
|
||||
slug: rclone_copyurl
|
||||
url: /commands/rclone_copyurl/
|
||||
@ -11,10 +11,15 @@ Copy url content to dest.
|
||||
### Synopsis
|
||||
|
||||
|
||||
Download urls content and copy it to destination
|
||||
without saving it in tmp storage.
|
||||
Download a URL's content and copy it to the destination without saving
|
||||
it in temporary storage.
|
||||
|
||||
Setting --auto-filename flag will cause retrieving file name from url and using it in destination path.
|
||||
Setting --auto-filename will cause the file name to be retreived from
|
||||
the from URL (after any redirections) and used in the destination
|
||||
path.
|
||||
|
||||
Setting --stdout or making the output file name "-" will cause the
|
||||
output to be written to standard output.
|
||||
|
||||
|
||||
```
|
||||
@ -24,8 +29,9 @@ rclone copyurl https://example.com dest:path [flags]
|
||||
### Options
|
||||
|
||||
```
|
||||
-a, --auto-filename Get the file name from the url and use it for destination file path
|
||||
-a, --auto-filename Get the file name from the URL and use it for destination file path
|
||||
-h, --help help for copyurl
|
||||
--stdout Write the output to stdout rather than a file
|
||||
```
|
||||
|
||||
See the [global flags page](/flags/) for global options not listed here.
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone cryptcheck"
|
||||
slug: rclone_cryptcheck
|
||||
url: /commands/rclone_cryptcheck/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone cryptdecode"
|
||||
slug: rclone_cryptdecode
|
||||
url: /commands/rclone_cryptdecode/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone dbhashsum"
|
||||
slug: rclone_dbhashsum
|
||||
url: /commands/rclone_dbhashsum/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone dedupe"
|
||||
slug: rclone_dedupe
|
||||
url: /commands/rclone_dedupe/
|
||||
@ -81,6 +81,7 @@ Dedupe can be run non interactively using the `--dedupe-mode` flag or by using a
|
||||
* `--dedupe-mode newest` - removes identical files then keeps the newest one.
|
||||
* `--dedupe-mode oldest` - removes identical files then keeps the oldest one.
|
||||
* `--dedupe-mode largest` - removes identical files then keeps the largest one.
|
||||
* `--dedupe-mode smallest` - removes identical files then keeps the smallest one.
|
||||
* `--dedupe-mode rename` - removes identical files then renames the rest to be different.
|
||||
|
||||
For example to rename all the identically named photos in your Google Photos directory, do
|
||||
@ -99,7 +100,7 @@ rclone dedupe [mode] remote:path [flags]
|
||||
### Options
|
||||
|
||||
```
|
||||
--dedupe-mode string Dedupe mode interactive|skip|first|newest|oldest|rename. (default "interactive")
|
||||
--dedupe-mode string Dedupe mode interactive|skip|first|newest|oldest|largest|smallest|rename. (default "interactive")
|
||||
-h, --help help for dedupe
|
||||
```
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone delete"
|
||||
slug: rclone_delete
|
||||
url: /commands/rclone_delete/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone deletefile"
|
||||
slug: rclone_deletefile
|
||||
url: /commands/rclone_deletefile/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone genautocomplete"
|
||||
slug: rclone_genautocomplete
|
||||
url: /commands/rclone_genautocomplete/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone genautocomplete bash"
|
||||
slug: rclone_genautocomplete_bash
|
||||
url: /commands/rclone_genautocomplete_bash/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone genautocomplete zsh"
|
||||
slug: rclone_genautocomplete_zsh
|
||||
url: /commands/rclone_genautocomplete_zsh/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone gendocs"
|
||||
slug: rclone_gendocs
|
||||
url: /commands/rclone_gendocs/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone hashsum"
|
||||
slug: rclone_hashsum
|
||||
url: /commands/rclone_hashsum/
|
||||
@ -36,7 +36,8 @@ rclone hashsum <hash> remote:path [flags]
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help help for hashsum
|
||||
--base64 Output base64 encoded hashsum
|
||||
-h, --help help for hashsum
|
||||
```
|
||||
|
||||
See the [global flags page](/flags/) for global options not listed here.
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone link"
|
||||
slug: rclone_link
|
||||
url: /commands/rclone_link/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone listremotes"
|
||||
slug: rclone_listremotes
|
||||
url: /commands/rclone_listremotes/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone ls"
|
||||
slug: rclone_ls
|
||||
url: /commands/rclone_ls/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone lsd"
|
||||
slug: rclone_lsd
|
||||
url: /commands/rclone_lsd/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone lsf"
|
||||
slug: rclone_lsf
|
||||
url: /commands/rclone_lsf/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone lsjson"
|
||||
slug: rclone_lsjson
|
||||
url: /commands/rclone_lsjson/
|
||||
@ -36,7 +36,9 @@ The output is an array of Items, where each Item looks like this
|
||||
|
||||
If --hash is not specified the Hashes property won't be emitted.
|
||||
|
||||
If --no-modtime is specified then ModTime will be blank.
|
||||
If --no-modtime is specified then ModTime will be blank. This can speed things up on remotes where reading the ModTime takes an extra request (eg s3, swift).
|
||||
|
||||
If --no-mimetype is specified then MimeType will be blank. This can speed things up on remotes where reading the MimeType takes an extra request (eg s3, swift).
|
||||
|
||||
If --encrypted is not specified the Encrypted won't be emitted.
|
||||
|
||||
@ -94,14 +96,15 @@ rclone lsjson remote:path [flags]
|
||||
### Options
|
||||
|
||||
```
|
||||
--dirs-only Show only directories in the listing.
|
||||
-M, --encrypted Show the encrypted names.
|
||||
--files-only Show only files in the listing.
|
||||
--hash Include hashes in the output (may take longer).
|
||||
-h, --help help for lsjson
|
||||
--no-modtime Don't read the modification time (can speed things up).
|
||||
--original Show the ID of the underlying Object.
|
||||
-R, --recursive Recurse into the listing.
|
||||
--dirs-only Show only directories in the listing.
|
||||
-M, --encrypted Show the encrypted names.
|
||||
--files-only Show only files in the listing.
|
||||
--hash Include hashes in the output (may take longer).
|
||||
-h, --help help for lsjson
|
||||
--no-mimetype Don't read the mime type (can speed things up).
|
||||
--no-modtime Don't read the modification time (can speed things up).
|
||||
--original Show the ID of the underlying Object.
|
||||
-R, --recursive Recurse into the listing.
|
||||
```
|
||||
|
||||
See the [global flags page](/flags/) for global options not listed here.
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone lsl"
|
||||
slug: rclone_lsl
|
||||
url: /commands/rclone_lsl/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone md5sum"
|
||||
slug: rclone_md5sum
|
||||
url: /commands/rclone_md5sum/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone mkdir"
|
||||
slug: rclone_mkdir
|
||||
url: /commands/rclone_mkdir/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone mount"
|
||||
slug: rclone_mount
|
||||
url: /commands/rclone_mount/
|
||||
@ -65,28 +65,6 @@ infrastructure](https://github.com/billziss-gh/winfsp/wiki/WinFsp-Service-Archit
|
||||
which creates drives accessible for everyone on the system or
|
||||
alternatively using [the nssm service manager](https://nssm.cc/usage).
|
||||
|
||||
#### Mount as a network drive
|
||||
|
||||
By default, rclone will mount the remote as a normal drive. However, you can also mount it as a **Network Drive**
|
||||
(or **Network Share**, as mentioned in some places)
|
||||
|
||||
Unlike other systems, Windows provides a different filesystem type for network drives.
|
||||
Windows and other programs treat the network drives and fixed/removable drives differently:
|
||||
In network drives, many I/O operations are optimized, as the high latency and low reliability
|
||||
(compared to a normal drive) of a network is expected.
|
||||
|
||||
Although many people prefer network shares to be mounted as normal system drives, this might cause
|
||||
some issues, such as programs not working as expected or freezes and errors while operating with the
|
||||
mounted remote in Windows Explorer. If you experience any of those, consider mounting rclone remotes as network shares,
|
||||
as Windows expects normal drives to be fast and reliable, while cloud storage is far from that.
|
||||
See also [Limitations](#limitations) section below for more info
|
||||
|
||||
Add `--fuse-flag --VolumePrefix=\server\share` to your `mount` command, **replacing `share` with any other
|
||||
name of your choice if you are mounting more than one remote**. Otherwise, the mountpoints will conflict and
|
||||
your mounted filesystems will overlap.
|
||||
|
||||
[Read more about drive mapping](https://en.wikipedia.org/wiki/Drive_mapping)
|
||||
|
||||
### Limitations
|
||||
|
||||
Without the use of "--vfs-cache-mode" this can only write files
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone move"
|
||||
slug: rclone_move
|
||||
url: /commands/rclone_move/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone moveto"
|
||||
slug: rclone_moveto
|
||||
url: /commands/rclone_moveto/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
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 copy current path to clipbard
|
||||
Y display current path
|
||||
^L refresh screen
|
||||
? to toggle help on and off
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone obscure"
|
||||
slug: rclone_obscure
|
||||
url: /commands/rclone_obscure/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone purge"
|
||||
slug: rclone_purge
|
||||
url: /commands/rclone_purge/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone rc"
|
||||
slug: rclone_rc
|
||||
url: /commands/rclone_rc/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone rcat"
|
||||
slug: rclone_rcat
|
||||
url: /commands/rclone_rcat/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone rcd"
|
||||
slug: rclone_rcd
|
||||
url: /commands/rclone_rcd/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone rmdir"
|
||||
slug: rclone_rmdir
|
||||
url: /commands/rclone_rmdir/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone rmdirs"
|
||||
slug: rclone_rmdirs
|
||||
url: /commands/rclone_rmdirs/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone serve"
|
||||
slug: rclone_serve
|
||||
url: /commands/rclone_serve/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone serve dlna"
|
||||
slug: rclone_serve_dlna
|
||||
url: /commands/rclone_serve_dlna/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone serve ftp"
|
||||
slug: rclone_serve_ftp
|
||||
url: /commands/rclone_serve_ftp/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone serve http"
|
||||
slug: rclone_serve_http
|
||||
url: /commands/rclone_serve_http/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone serve restic"
|
||||
slug: rclone_serve_restic
|
||||
url: /commands/rclone_serve_restic/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone serve sftp"
|
||||
slug: rclone_serve_sftp
|
||||
url: /commands/rclone_serve_sftp/
|
||||
@ -22,9 +22,9 @@ The server will log errors. Use -v to see access logs.
|
||||
--bwlimit will be respected for file transfers. Use --stats to
|
||||
control the stats printing.
|
||||
|
||||
You must provide some means of authentication, either with `--user`/`--pass`,
|
||||
an authorized keys file (specify location with `--authorized-keys` - the
|
||||
default is the same as ssh), an `--auth-proxy`, or set the --no-auth flag for no
|
||||
You must provide some means of authentication, either with --user/--pass,
|
||||
an authorized keys file (specify location with --authorized-keys - the
|
||||
default is the same as ssh) or set the --no-auth flag for no
|
||||
authentication when logging in.
|
||||
|
||||
Note that this also implements a small number of shell commands so
|
||||
@ -183,13 +183,11 @@ 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.
|
||||
|
||||
> **PLEASE NOTE:** `--auth-proxy` and `--authorized-keys` cannot be used together, if `--auth-proxy` is set the authorized keys option will be ignored.
|
||||
|
||||
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` or `public_key` on the input and turn
|
||||
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
|
||||
@ -202,7 +200,7 @@ This config generated must have this extra parameter
|
||||
And it may have this parameter
|
||||
- `_obscure` - comma separated strings for parameters to obscure
|
||||
|
||||
If password authentication was used by the client, input to the proxy process (on STDIN) would look similar to this:
|
||||
For example the program might take this on STDIN
|
||||
|
||||
```
|
||||
{
|
||||
@ -211,16 +209,7 @@ If password authentication was used by the client, input to the proxy process (o
|
||||
}
|
||||
```
|
||||
|
||||
If public-key authentication was used by the client, input to the proxy process (on STDIN) would look similar to this:
|
||||
|
||||
```
|
||||
{
|
||||
"user": "me",
|
||||
"public_key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDuwESFdAe14hVS6omeyX7edc+4BlQz1s6tWT5VxBu1YlR9w39BUAom4qDKuH+uqLMDIaS5F7D6lNwOuPylvyV/LgMFsgJV4QZ52Kws7mNgdsCEDTvfLz5Pt9Qtp6Gnah3kA0cmbXcfQFaO50Ojnz/W1ozg2z5evKmGtyYMtywTXvH/KVh5WjhbpQ/ERgu+1pbgwWkpWNBM8TCO8D85PSpxtkdpEdkaiGtKA6U+6ZOtdCqd88EasyMEBWLVSx9bvqMVsD8plYstXOm5CCptGWWqckZBIqp0YBP6atw/ANRESD3cIJ4dOO+qlWkLR5npAZZTx2Qqh+hVw6qqTFB+JQdf"
|
||||
}
|
||||
```
|
||||
|
||||
And as an example return this on STDOUT
|
||||
And return this on STDOUT
|
||||
|
||||
```
|
||||
{
|
||||
@ -234,7 +223,7 @@ And as an example return this on STDOUT
|
||||
```
|
||||
|
||||
This would mean that an SFTP backend would be created on the fly for
|
||||
the `user` and `pass`/`public_key` returned in the output to the host given. Note
|
||||
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).
|
||||
@ -246,8 +235,8 @@ 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` or `public_key`. This also means that if a user's
|
||||
password or public-key is changed the cache will need to expire (which takes 5 mins)
|
||||
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
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone serve webdav"
|
||||
slug: rclone_serve_webdav
|
||||
url: /commands/rclone_serve_webdav/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone settier"
|
||||
slug: rclone_settier
|
||||
url: /commands/rclone_settier/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone sha1sum"
|
||||
slug: rclone_sha1sum
|
||||
url: /commands/rclone_sha1sum/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone size"
|
||||
slug: rclone_size
|
||||
url: /commands/rclone_size/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone sync"
|
||||
slug: rclone_sync
|
||||
url: /commands/rclone_sync/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone touch"
|
||||
slug: rclone_touch
|
||||
url: /commands/rclone_touch/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone tree"
|
||||
slug: rclone_tree
|
||||
url: /commands/rclone_tree/
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2020-02-01T10:26:53Z
|
||||
title: "rclone version"
|
||||
slug: rclone_version
|
||||
url: /commands/rclone_version/
|
||||
|
Reference in New Issue
Block a user