1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

Compare commits

...

7 Commits

Author SHA1 Message Date
Nick Craig-Wood
db930850cc Version v1.50.1 2019-11-02 14:26:50 +00:00
Nick Craig-Wood
6f8558f61a local: fix listings of . on Windows - fixes #3676 2019-10-30 16:03:13 +00:00
Nick Craig-Wood
d4fe62ec08 hash: fix hash names for DropboxHash and CRC-32
These were unintentionally renamed as part of 1dc8bcd48c

Fixes #3679
2019-10-30 16:02:57 +00:00
Nick Craig-Wood
9d69bc0b48 fshttp: don't print token bucket errors on context cancelled
These happen as a natural part of exceeding --max-transfer and we
don't need to worry the user with them.
2019-10-30 16:02:47 +00:00
Xiaoxing Ye
f91b120be7 onedrive: no trailing slash reading metadata...
No trailing slash when reading metadata of an item given item ID.

This should fix #3664.
2019-10-30 16:02:31 +00:00
Nick Craig-Wood
fb25a926d7 fshttp: fix error reporting on tpslimit token bucket errors 2019-10-30 16:02:23 +00:00
Nick Craig-Wood
6c10b162ea rc: fix formatting of docs 2019-10-27 10:44:29 +00:00
88 changed files with 31891 additions and 25491 deletions

14578
MANUAL.html generated

File diff suppressed because one or more lines are too long

25
MANUAL.md generated
View File

@@ -1,6 +1,6 @@
% rclone(1) User Manual % rclone(1) User Manual
% Nick Craig-Wood % Nick Craig-Wood
% Oct 26, 2019 % Nov 02, 2019
# Rclone - rsync for cloud storage # Rclone - rsync for cloud storage
@@ -7133,6 +7133,7 @@ Authentication is required for this call.
### config/get: Get a remote in the config file. {#config/get} ### config/get: Get a remote in the config file. {#config/get}
Parameters: Parameters:
- name - name of remote to get - name - name of remote to get
See the [config dump command](https://rclone.org/commands/rclone_config_dump/) command for more information on the above. See the [config dump command](https://rclone.org/commands/rclone_config_dump/) command for more information on the above.
@@ -7275,6 +7276,7 @@ If group is not provided then summed up stats for all groups will be
returned. returned.
Parameters Parameters
- group - name of the stats group (string) - group - name of the stats group (string)
Returns the following values: Returns the following values:
@@ -7316,8 +7318,8 @@ This clears counters and errors for all stats or specific stats group if group
is provided. is provided.
Parameters Parameters
- group - name of the stats group (string) - group - name of the stats group (string)
```
### core/transferred: Returns stats about completed transfers. {#core/transferred} ### core/transferred: Returns stats about completed transfers. {#core/transferred}
@@ -7331,6 +7333,7 @@ returned.
Note only the last 100 completed transfers are returned. Note only the last 100 completed transfers are returned.
Parameters Parameters
- group - name of the stats group (string) - group - name of the stats group (string)
Returns the following values: Returns the following values:
@@ -7354,6 +7357,7 @@ Returns the following values:
### core/version: Shows the current version of rclone and the go runtime. {#core/version} ### core/version: Shows the current version of rclone and the go runtime. {#core/version}
This shows the current version of go and the go runtime This shows the current version of go and the go runtime
- version - rclone version, eg "v1.44" - version - rclone version, eg "v1.44"
- decomposed - version number as [major, minor, patch, subpatch] - decomposed - version number as [major, minor, patch, subpatch]
- note patch and subpatch will be 999 for a git compiled version - note patch and subpatch will be 999 for a git compiled version
@@ -7367,14 +7371,17 @@ This shows the current version of go and the go runtime
Parameters - None Parameters - None
Results Results
- jobids - array of integer job ids - jobids - array of integer job ids
### job/status: Reads the status of the job ID {#job/status} ### job/status: Reads the status of the job ID {#job/status}
Parameters Parameters
- jobid - id of the job (integer) - jobid - id of the job (integer)
Results Results
- finished - boolean - finished - boolean
- duration - time in seconds that the job ran for - duration - time in seconds that the job ran for
- endTime - time the job finished (eg "2018-10-26T18:50:20.528746884+01:00") - endTime - time the job finished (eg "2018-10-26T18:50:20.528746884+01:00")
@@ -7389,6 +7396,7 @@ Results
### job/stop: Stop the running job {#job/stop} ### job/stop: Stop the running job {#job/stop}
Parameters Parameters
- jobid - id of the job (integer) - jobid - id of the job (integer)
### operations/about: Return the space used on the remote {#operations/about} ### operations/about: Return the space used on the remote {#operations/about}
@@ -8452,7 +8460,7 @@ These flags are available for every command.
--use-json-log Use json log format. --use-json-log Use json log format.
--use-mmap Use mmap allocator (see docs). --use-mmap Use mmap allocator (see docs).
--use-server-modtime Use server modified time instead of object metadata --use-server-modtime Use server modified time instead of object metadata
--user-agent string Set the user-agent to a specified string. The default is rclone/ version (default "rclone/v1.50.0") --user-agent string Set the user-agent to a specified string. The default is rclone/ version (default "rclone/v1.50.1")
-v, --verbose count Print lots more stuff (repeat for more) -v, --verbose count Print lots more stuff (repeat for more)
``` ```
@@ -20181,6 +20189,17 @@ to override the default choice.
# Changelog # Changelog
## v1.50.1 - 2019-11-02
* Bug Fixes
* hash: Fix accidentally changed hash names for `DropboxHash` and `CRC-32` (Nick Craig-Wood)
* fshttp: Fix error reporting on tpslimit token bucket errors (Nick Craig-Wood)
* fshttp: Don't print token bucket errors on context cancelled (Nick Craig-Wood)
* Local
* Fix listings of . on Windows (Nick Craig-Wood)
* Onedrive
* Fix DirMove/Move after Onedrive change (Xiaoxing Ye)
## v1.50.0 - 2019-10-26 ## v1.50.0 - 2019-10-26
* New backends * New backends

13475
MANUAL.txt generated

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1 @@
v1.50.0 v1.50.1

View File

@@ -113,7 +113,7 @@ var (
// Register with Fs // Register with Fs
func init() { func init() {
DbHashType = hash.RegisterHash("Dropbox", 64, dbhash.New) DbHashType = hash.RegisterHash("DropboxHash", 64, dbhash.New)
fs.Register(&fs.RegInfo{ fs.Register(&fs.RegInfo{
Name: "dropbox", Name: "dropbox",
Description: "Dropbox", Description: "Dropbox",

View File

@@ -1084,17 +1084,17 @@ func (o *Object) Remove(ctx context.Context) error {
func cleanRootPath(s string, noUNC bool) string { func cleanRootPath(s string, noUNC bool) string {
if runtime.GOOS == "windows" { if runtime.GOOS == "windows" {
s = filepath.ToSlash(s)
vol := filepath.VolumeName(s)
s = vol + enc.FromStandardPath(s[len(vol):])
s = filepath.FromSlash(s)
if !filepath.IsAbs(s) && !strings.HasPrefix(s, "\\") { if !filepath.IsAbs(s) && !strings.HasPrefix(s, "\\") {
s2, err := filepath.Abs(s) s2, err := filepath.Abs(s)
if err == nil { if err == nil {
s = s2 s = s2
} }
} }
s = filepath.ToSlash(s)
vol := filepath.VolumeName(s)
s = vol + enc.FromStandardPath(s[len(vol):])
s = filepath.FromSlash(s)
if !noUNC { if !noUNC {
// Convert to UNC // Convert to UNC
s = uncPath(s) s = uncPath(s)

View File

@@ -54,7 +54,7 @@ var testsWindows = [][2]string{
{`\\?\UNC\theserver\dir\file.txt`, `\\?\UNC\theserver\dir\file.txt`}, {`\\?\UNC\theserver\dir\file.txt`, `\\?\UNC\theserver\dir\file.txt`},
{`//?/UNC/theserver/dir\file.txt`, `\\?\UNC\theserver\dir\file.txt`}, {`//?/UNC/theserver/dir\file.txt`, `\\?\UNC\theserver\dir\file.txt`},
{`c:/temp`, `c:\temp`}, {`c:/temp`, `c:\temp`},
{`/temp/file.txt`, `\temp\file.txt`}, {`C:/temp/file.txt`, `C:\temp\file.txt`},
{`c:\!\"#¤%&/()=;:*^?+-`, `c:\!\#¤%&\()=;^+-`}, {`c:\!\"#¤%&/()=;:*^?+-`, `c:\!\#¤%&\()=;^+-`},
{`c:\<>"|?*:&\<>"|?*:&\<>"|?*:&`, `c:\&\&\&`}, {`c:\<>"|?*:&\<>"|?*:&\<>"|?*:&`, `c:\&\&\&`},
} }

View File

@@ -351,8 +351,13 @@ func shouldRetry(resp *http.Response, err error) (bool, error) {
// instead of simply using `drives/driveID/root:/itemPath` because it works for // instead of simply using `drives/driveID/root:/itemPath` because it works for
// "shared with me" folders in OneDrive Personal (See #2536, #2778) // "shared with me" folders in OneDrive Personal (See #2536, #2778)
// This path pattern comes from https://github.com/OneDrive/onedrive-api-docs/issues/908#issuecomment-417488480 // This path pattern comes from https://github.com/OneDrive/onedrive-api-docs/issues/908#issuecomment-417488480
//
// If `relPath` == '', do not append the slash (See #3664)
func (f *Fs) readMetaDataForPathRelativeToID(ctx context.Context, normalizedID string, relPath string) (info *api.Item, resp *http.Response, err error) { func (f *Fs) readMetaDataForPathRelativeToID(ctx context.Context, normalizedID string, relPath string) (info *api.Item, resp *http.Response, err error) {
opts := newOptsCall(normalizedID, "GET", ":/"+withTrailingColon(rest.URLPathEscape(enc.FromStandardPath(relPath)))) if relPath != "" {
relPath = "/" + withTrailingColon(rest.URLPathEscape(enc.FromStandardPath(relPath)))
}
opts := newOptsCall(normalizedID, "GET", ":"+relPath)
err = f.pacer.Call(func() (bool, error) { err = f.pacer.Call(func() (bool, error) {
resp, err = f.srv.CallJSON(ctx, &opts, nil, &info) resp, err = f.srv.CallJSON(ctx, &opts, nil, &info)
return shouldRetry(resp, err) return shouldRetry(resp, err)

View File

@@ -1,11 +1,22 @@
--- ---
title: "Documentation" title: "Documentation"
description: "Rclone Changelog" description: "Rclone Changelog"
date: "2019-10-26" date: "2019-11-02"
--- ---
# Changelog # Changelog
## v1.50.1 - 2019-11-02
* Bug Fixes
* hash: Fix accidentally changed hash names for `DropboxHash` and `CRC-32` (Nick Craig-Wood)
* fshttp: Fix error reporting on tpslimit token bucket errors (Nick Craig-Wood)
* fshttp: Don't print token bucket errors on context cancelled (Nick Craig-Wood)
* Local
* Fix listings of . on Windows (Nick Craig-Wood)
* Onedrive
* Fix DirMove/Move after Onedrive change (Xiaoxing Ye)
## v1.50.0 - 2019-10-26 ## v1.50.0 - 2019-10-26
* New backends * New backends

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone" title: "rclone"
slug: rclone slug: rclone
url: /commands/rclone/ url: /commands/rclone/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone about" title: "rclone about"
slug: rclone_about slug: rclone_about
url: /commands/rclone_about/ url: /commands/rclone_about/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone authorize" title: "rclone authorize"
slug: rclone_authorize slug: rclone_authorize
url: /commands/rclone_authorize/ url: /commands/rclone_authorize/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone cachestats" title: "rclone cachestats"
slug: rclone_cachestats slug: rclone_cachestats
url: /commands/rclone_cachestats/ url: /commands/rclone_cachestats/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone cat" title: "rclone cat"
slug: rclone_cat slug: rclone_cat
url: /commands/rclone_cat/ url: /commands/rclone_cat/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone check" title: "rclone check"
slug: rclone_check slug: rclone_check
url: /commands/rclone_check/ url: /commands/rclone_check/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone cleanup" title: "rclone cleanup"
slug: rclone_cleanup slug: rclone_cleanup
url: /commands/rclone_cleanup/ url: /commands/rclone_cleanup/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone config" title: "rclone config"
slug: rclone_config slug: rclone_config
url: /commands/rclone_config/ url: /commands/rclone_config/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone config create" title: "rclone config create"
slug: rclone_config_create slug: rclone_config_create
url: /commands/rclone_config_create/ url: /commands/rclone_config_create/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone config delete" title: "rclone config delete"
slug: rclone_config_delete slug: rclone_config_delete
url: /commands/rclone_config_delete/ url: /commands/rclone_config_delete/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone config disconnect" title: "rclone config disconnect"
slug: rclone_config_disconnect slug: rclone_config_disconnect
url: /commands/rclone_config_disconnect/ url: /commands/rclone_config_disconnect/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone config dump" title: "rclone config dump"
slug: rclone_config_dump slug: rclone_config_dump
url: /commands/rclone_config_dump/ url: /commands/rclone_config_dump/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone config edit" title: "rclone config edit"
slug: rclone_config_edit slug: rclone_config_edit
url: /commands/rclone_config_edit/ url: /commands/rclone_config_edit/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone config file" title: "rclone config file"
slug: rclone_config_file slug: rclone_config_file
url: /commands/rclone_config_file/ url: /commands/rclone_config_file/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone config password" title: "rclone config password"
slug: rclone_config_password slug: rclone_config_password
url: /commands/rclone_config_password/ url: /commands/rclone_config_password/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone config providers" title: "rclone config providers"
slug: rclone_config_providers slug: rclone_config_providers
url: /commands/rclone_config_providers/ url: /commands/rclone_config_providers/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone config reconnect" title: "rclone config reconnect"
slug: rclone_config_reconnect slug: rclone_config_reconnect
url: /commands/rclone_config_reconnect/ url: /commands/rclone_config_reconnect/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone config show" title: "rclone config show"
slug: rclone_config_show slug: rclone_config_show
url: /commands/rclone_config_show/ url: /commands/rclone_config_show/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone config update" title: "rclone config update"
slug: rclone_config_update slug: rclone_config_update
url: /commands/rclone_config_update/ url: /commands/rclone_config_update/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone config userinfo" title: "rclone config userinfo"
slug: rclone_config_userinfo slug: rclone_config_userinfo
url: /commands/rclone_config_userinfo/ url: /commands/rclone_config_userinfo/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone copy" title: "rclone copy"
slug: rclone_copy slug: rclone_copy
url: /commands/rclone_copy/ url: /commands/rclone_copy/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone copyto" title: "rclone copyto"
slug: rclone_copyto slug: rclone_copyto
url: /commands/rclone_copyto/ url: /commands/rclone_copyto/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone copyurl" title: "rclone copyurl"
slug: rclone_copyurl slug: rclone_copyurl
url: /commands/rclone_copyurl/ url: /commands/rclone_copyurl/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone cryptcheck" title: "rclone cryptcheck"
slug: rclone_cryptcheck slug: rclone_cryptcheck
url: /commands/rclone_cryptcheck/ url: /commands/rclone_cryptcheck/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone cryptdecode" title: "rclone cryptdecode"
slug: rclone_cryptdecode slug: rclone_cryptdecode
url: /commands/rclone_cryptdecode/ url: /commands/rclone_cryptdecode/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone dbhashsum" title: "rclone dbhashsum"
slug: rclone_dbhashsum slug: rclone_dbhashsum
url: /commands/rclone_dbhashsum/ url: /commands/rclone_dbhashsum/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone dedupe" title: "rclone dedupe"
slug: rclone_dedupe slug: rclone_dedupe
url: /commands/rclone_dedupe/ url: /commands/rclone_dedupe/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone delete" title: "rclone delete"
slug: rclone_delete slug: rclone_delete
url: /commands/rclone_delete/ url: /commands/rclone_delete/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone deletefile" title: "rclone deletefile"
slug: rclone_deletefile slug: rclone_deletefile
url: /commands/rclone_deletefile/ url: /commands/rclone_deletefile/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone genautocomplete" title: "rclone genautocomplete"
slug: rclone_genautocomplete slug: rclone_genautocomplete
url: /commands/rclone_genautocomplete/ url: /commands/rclone_genautocomplete/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone genautocomplete bash" title: "rclone genautocomplete bash"
slug: rclone_genautocomplete_bash slug: rclone_genautocomplete_bash
url: /commands/rclone_genautocomplete_bash/ url: /commands/rclone_genautocomplete_bash/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone genautocomplete zsh" title: "rclone genautocomplete zsh"
slug: rclone_genautocomplete_zsh slug: rclone_genautocomplete_zsh
url: /commands/rclone_genautocomplete_zsh/ url: /commands/rclone_genautocomplete_zsh/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone gendocs" title: "rclone gendocs"
slug: rclone_gendocs slug: rclone_gendocs
url: /commands/rclone_gendocs/ url: /commands/rclone_gendocs/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone hashsum" title: "rclone hashsum"
slug: rclone_hashsum slug: rclone_hashsum
url: /commands/rclone_hashsum/ url: /commands/rclone_hashsum/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone link" title: "rclone link"
slug: rclone_link slug: rclone_link
url: /commands/rclone_link/ url: /commands/rclone_link/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone listremotes" title: "rclone listremotes"
slug: rclone_listremotes slug: rclone_listremotes
url: /commands/rclone_listremotes/ url: /commands/rclone_listremotes/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone ls" title: "rclone ls"
slug: rclone_ls slug: rclone_ls
url: /commands/rclone_ls/ url: /commands/rclone_ls/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone lsd" title: "rclone lsd"
slug: rclone_lsd slug: rclone_lsd
url: /commands/rclone_lsd/ url: /commands/rclone_lsd/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone lsf" title: "rclone lsf"
slug: rclone_lsf slug: rclone_lsf
url: /commands/rclone_lsf/ url: /commands/rclone_lsf/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone lsjson" title: "rclone lsjson"
slug: rclone_lsjson slug: rclone_lsjson
url: /commands/rclone_lsjson/ url: /commands/rclone_lsjson/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone lsl" title: "rclone lsl"
slug: rclone_lsl slug: rclone_lsl
url: /commands/rclone_lsl/ url: /commands/rclone_lsl/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone md5sum" title: "rclone md5sum"
slug: rclone_md5sum slug: rclone_md5sum
url: /commands/rclone_md5sum/ url: /commands/rclone_md5sum/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone mkdir" title: "rclone mkdir"
slug: rclone_mkdir slug: rclone_mkdir
url: /commands/rclone_mkdir/ url: /commands/rclone_mkdir/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone mount" title: "rclone mount"
slug: rclone_mount slug: rclone_mount
url: /commands/rclone_mount/ url: /commands/rclone_mount/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone move" title: "rclone move"
slug: rclone_move slug: rclone_move
url: /commands/rclone_move/ url: /commands/rclone_move/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone moveto" title: "rclone moveto"
slug: rclone_moveto slug: rclone_moveto
url: /commands/rclone_moveto/ url: /commands/rclone_moveto/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone ncdu" title: "rclone ncdu"
slug: rclone_ncdu slug: rclone_ncdu
url: /commands/rclone_ncdu/ url: /commands/rclone_ncdu/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone obscure" title: "rclone obscure"
slug: rclone_obscure slug: rclone_obscure
url: /commands/rclone_obscure/ url: /commands/rclone_obscure/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone purge" title: "rclone purge"
slug: rclone_purge slug: rclone_purge
url: /commands/rclone_purge/ url: /commands/rclone_purge/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone rc" title: "rclone rc"
slug: rclone_rc slug: rclone_rc
url: /commands/rclone_rc/ url: /commands/rclone_rc/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone rcat" title: "rclone rcat"
slug: rclone_rcat slug: rclone_rcat
url: /commands/rclone_rcat/ url: /commands/rclone_rcat/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone rcd" title: "rclone rcd"
slug: rclone_rcd slug: rclone_rcd
url: /commands/rclone_rcd/ url: /commands/rclone_rcd/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone rmdir" title: "rclone rmdir"
slug: rclone_rmdir slug: rclone_rmdir
url: /commands/rclone_rmdir/ url: /commands/rclone_rmdir/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone rmdirs" title: "rclone rmdirs"
slug: rclone_rmdirs slug: rclone_rmdirs
url: /commands/rclone_rmdirs/ url: /commands/rclone_rmdirs/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone serve" title: "rclone serve"
slug: rclone_serve slug: rclone_serve
url: /commands/rclone_serve/ url: /commands/rclone_serve/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone serve dlna" title: "rclone serve dlna"
slug: rclone_serve_dlna slug: rclone_serve_dlna
url: /commands/rclone_serve_dlna/ url: /commands/rclone_serve_dlna/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone serve ftp" title: "rclone serve ftp"
slug: rclone_serve_ftp slug: rclone_serve_ftp
url: /commands/rclone_serve_ftp/ url: /commands/rclone_serve_ftp/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone serve http" title: "rclone serve http"
slug: rclone_serve_http slug: rclone_serve_http
url: /commands/rclone_serve_http/ url: /commands/rclone_serve_http/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone serve restic" title: "rclone serve restic"
slug: rclone_serve_restic slug: rclone_serve_restic
url: /commands/rclone_serve_restic/ url: /commands/rclone_serve_restic/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone serve sftp" title: "rclone serve sftp"
slug: rclone_serve_sftp slug: rclone_serve_sftp
url: /commands/rclone_serve_sftp/ url: /commands/rclone_serve_sftp/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone serve webdav" title: "rclone serve webdav"
slug: rclone_serve_webdav slug: rclone_serve_webdav
url: /commands/rclone_serve_webdav/ url: /commands/rclone_serve_webdav/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone settier" title: "rclone settier"
slug: rclone_settier slug: rclone_settier
url: /commands/rclone_settier/ url: /commands/rclone_settier/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone sha1sum" title: "rclone sha1sum"
slug: rclone_sha1sum slug: rclone_sha1sum
url: /commands/rclone_sha1sum/ url: /commands/rclone_sha1sum/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone size" title: "rclone size"
slug: rclone_size slug: rclone_size
url: /commands/rclone_size/ url: /commands/rclone_size/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone sync" title: "rclone sync"
slug: rclone_sync slug: rclone_sync
url: /commands/rclone_sync/ url: /commands/rclone_sync/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone touch" title: "rclone touch"
slug: rclone_touch slug: rclone_touch
url: /commands/rclone_touch/ url: /commands/rclone_touch/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone tree" title: "rclone tree"
slug: rclone_tree slug: rclone_tree
url: /commands/rclone_tree/ url: /commands/rclone_tree/

View File

@@ -1,5 +1,5 @@
--- ---
date: 2019-10-26T11:04:03+01:00 date: 2019-11-02T14:26:08Z
title: "rclone version" title: "rclone version"
slug: rclone_version slug: rclone_version
url: /commands/rclone_version/ url: /commands/rclone_version/

View File

@@ -1,7 +1,7 @@
--- ---
title: "Global Flags" title: "Global Flags"
description: "Rclone Global Flags" description: "Rclone Global Flags"
date: "2019-10-26T11:04:03+01:00" date: "2019-11-02T14:26:08Z"
--- ---
# Global Flags # Global Flags
@@ -127,7 +127,7 @@ These flags are available for every command.
--use-json-log Use json log format. --use-json-log Use json log format.
--use-mmap Use mmap allocator (see docs). --use-mmap Use mmap allocator (see docs).
--use-server-modtime Use server modified time instead of object metadata --use-server-modtime Use server modified time instead of object metadata
--user-agent string Set the user-agent to a specified string. The default is rclone/ version (default "rclone/v1.50.0") --user-agent string Set the user-agent to a specified string. The default is rclone/ version (default "rclone/v1.50.1")
-v, --verbose count Print lots more stuff (repeat for more) -v, --verbose count Print lots more stuff (repeat for more)
``` ```

View File

@@ -340,6 +340,7 @@ Authentication is required for this call.
### config/get: Get a remote in the config file. {#config/get} ### config/get: Get a remote in the config file. {#config/get}
Parameters: Parameters:
- name - name of remote to get - name - name of remote to get
See the [config dump command](/commands/rclone_config_dump/) command for more information on the above. See the [config dump command](/commands/rclone_config_dump/) command for more information on the above.
@@ -482,6 +483,7 @@ If group is not provided then summed up stats for all groups will be
returned. returned.
Parameters Parameters
- group - name of the stats group (string) - group - name of the stats group (string)
Returns the following values: Returns the following values:
@@ -523,8 +525,8 @@ This clears counters and errors for all stats or specific stats group if group
is provided. is provided.
Parameters Parameters
- group - name of the stats group (string) - group - name of the stats group (string)
```
### core/transferred: Returns stats about completed transfers. {#core/transferred} ### core/transferred: Returns stats about completed transfers. {#core/transferred}
@@ -538,6 +540,7 @@ returned.
Note only the last 100 completed transfers are returned. Note only the last 100 completed transfers are returned.
Parameters Parameters
- group - name of the stats group (string) - group - name of the stats group (string)
Returns the following values: Returns the following values:
@@ -561,6 +564,7 @@ Returns the following values:
### core/version: Shows the current version of rclone and the go runtime. {#core/version} ### core/version: Shows the current version of rclone and the go runtime. {#core/version}
This shows the current version of go and the go runtime This shows the current version of go and the go runtime
- version - rclone version, eg "v1.44" - version - rclone version, eg "v1.44"
- decomposed - version number as [major, minor, patch, subpatch] - decomposed - version number as [major, minor, patch, subpatch]
- note patch and subpatch will be 999 for a git compiled version - note patch and subpatch will be 999 for a git compiled version
@@ -574,14 +578,17 @@ This shows the current version of go and the go runtime
Parameters - None Parameters - None
Results Results
- jobids - array of integer job ids - jobids - array of integer job ids
### job/status: Reads the status of the job ID {#job/status} ### job/status: Reads the status of the job ID {#job/status}
Parameters Parameters
- jobid - id of the job (integer) - jobid - id of the job (integer)
Results Results
- finished - boolean - finished - boolean
- duration - time in seconds that the job ran for - duration - time in seconds that the job ran for
- endTime - time the job finished (eg "2018-10-26T18:50:20.528746884+01:00") - endTime - time the job finished (eg "2018-10-26T18:50:20.528746884+01:00")
@@ -596,6 +603,7 @@ Results
### job/stop: Stop the running job {#job/stop} ### job/stop: Stop the running job {#job/stop}
Parameters Parameters
- jobid - id of the job (integer) - jobid - id of the job (integer)
### operations/about: Return the space used on the remote {#operations/about} ### operations/about: Return the space used on the remote {#operations/about}

View File

@@ -1 +1 @@
v1.50.0 v1.50.1

View File

@@ -88,6 +88,7 @@ If group is not provided then summed up stats for all groups will be
returned. returned.
Parameters Parameters
- group - name of the stats group (string) - group - name of the stats group (string)
Returns the following values: Returns the following values:
@@ -140,6 +141,7 @@ returned.
Note only the last 100 completed transfers are returned. Note only the last 100 completed transfers are returned.
Parameters Parameters
- group - name of the stats group (string) - group - name of the stats group (string)
Returns the following values: Returns the following values:
@@ -192,8 +194,8 @@ This clears counters and errors for all stats or specific stats group if group
is provided. is provided.
Parameters Parameters
- group - name of the stats group (string) - group - name of the stats group (string)
` + "```" + `
`, `,
}) })
} }

View File

@@ -37,6 +37,7 @@ func init() {
AuthRequired: true, AuthRequired: true,
Help: ` Help: `
Parameters: Parameters:
- name - name of remote to get - name - name of remote to get
See the [config dump command](/commands/rclone_config_dump/) command for more information on the above. See the [config dump command](/commands/rclone_config_dump/) command for more information on the above.

View File

@@ -318,8 +318,8 @@ func (t *Transport) RoundTrip(req *http.Request) (resp *http.Response, err error
// Get transactions per second token first if limiting // Get transactions per second token first if limiting
if tpsBucket != nil { if tpsBucket != nil {
tbErr := tpsBucket.Wait(req.Context()) tbErr := tpsBucket.Wait(req.Context())
if tbErr != nil { if tbErr != nil && tbErr != context.Canceled {
fs.Errorf(nil, "HTTP token bucket error: %v", err) fs.Errorf(nil, "HTTP token bucket error: %v", tbErr)
} }
} }
// Force user agent // Force user agent

View File

@@ -66,7 +66,7 @@ func init() {
MD5 = RegisterHash("MD5", 32, md5.New) MD5 = RegisterHash("MD5", 32, md5.New)
SHA1 = RegisterHash("SHA-1", 40, sha1.New) SHA1 = RegisterHash("SHA-1", 40, sha1.New)
Whirlpool = RegisterHash("Whirlpool", 128, whirlpool.New) Whirlpool = RegisterHash("Whirlpool", 128, whirlpool.New)
CRC32 = RegisterHash("CRC32", 8, func() hash.Hash { return crc32.NewIEEE() }) CRC32 = RegisterHash("CRC-32", 8, func() hash.Hash { return crc32.NewIEEE() })
} }
// Supported returns a set of all the supported hashes by // Supported returns a set of all the supported hashes by

View File

@@ -168,6 +168,7 @@ func init() {
Title: "Shows the current version of rclone and the go runtime.", Title: "Shows the current version of rclone and the go runtime.",
Help: ` Help: `
This shows the current version of go and the go runtime This shows the current version of go and the go runtime
- version - rclone version, eg "v1.44" - version - rclone version, eg "v1.44"
- decomposed - version number as [major, minor, patch, subpatch] - decomposed - version number as [major, minor, patch, subpatch]
- note patch and subpatch will be 999 for a git compiled version - note patch and subpatch will be 999 for a git compiled version

View File

@@ -237,9 +237,11 @@ func init() {
Fn: rcJobStatus, Fn: rcJobStatus,
Title: "Reads the status of the job ID", Title: "Reads the status of the job ID",
Help: `Parameters Help: `Parameters
- jobid - id of the job (integer) - jobid - id of the job (integer)
Results Results
- finished - boolean - finished - boolean
- duration - time in seconds that the job ran for - duration - time in seconds that the job ran for
- endTime - time the job finished (eg "2018-10-26T18:50:20.528746884+01:00") - endTime - time the job finished (eg "2018-10-26T18:50:20.528746884+01:00")
@@ -282,6 +284,7 @@ func init() {
Help: `Parameters - None Help: `Parameters - None
Results Results
- jobids - array of integer job ids - jobids - array of integer job ids
`, `,
}) })
@@ -300,6 +303,7 @@ func init() {
Fn: rcJobStop, Fn: rcJobStop,
Title: "Stop the running job", Title: "Stop the running job",
Help: `Parameters Help: `Parameters
- jobid - id of the job (integer) - jobid - id of the job (integer)
`, `,
}) })

View File

@@ -1,4 +1,4 @@
package fs package fs
// Version of rclone // Version of rclone
var Version = "v1.50.0" var Version = "v1.50.1"

29098
rclone.1 generated

File diff suppressed because it is too large Load Diff