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
% Nick Craig-Wood
% Oct 26, 2019
% Nov 02, 2019
# 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}
Parameters:
- 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.
@@ -7275,6 +7276,7 @@ If group is not provided then summed up stats for all groups will be
returned.
Parameters
- group - name of the stats group (string)
Returns the following values:
@@ -7316,8 +7318,8 @@ This clears counters and errors for all stats or specific stats group if group
is provided.
Parameters
- group - name of the stats group (string)
```
### core/transferred: Returns stats about completed transfers. {#core/transferred}
@@ -7331,6 +7333,7 @@ returned.
Note only the last 100 completed transfers are returned.
Parameters
- group - name of the stats group (string)
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}
This shows the current version of go and the go runtime
- version - rclone version, eg "v1.44"
- decomposed - version number as [major, minor, patch, subpatch]
- 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
Results
- jobids - array of integer job ids
### job/status: Reads the status of the job ID {#job/status}
Parameters
- jobid - id of the job (integer)
Results
- finished - boolean
- duration - time in seconds that the job ran for
- 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}
Parameters
- jobid - id of the job (integer)
### 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-mmap Use mmap allocator (see docs).
--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)
```
@@ -20181,6 +20189,17 @@ to override the default choice.
# 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
* 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
func init() {
DbHashType = hash.RegisterHash("Dropbox", 64, dbhash.New)
DbHashType = hash.RegisterHash("DropboxHash", 64, dbhash.New)
fs.Register(&fs.RegInfo{
Name: "dropbox",
Description: "Dropbox",

View File

@@ -1084,17 +1084,17 @@ func (o *Object) Remove(ctx context.Context) error {
func cleanRootPath(s string, noUNC bool) string {
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, "\\") {
s2, err := filepath.Abs(s)
if err == nil {
s = s2
}
}
s = filepath.ToSlash(s)
vol := filepath.VolumeName(s)
s = vol + enc.FromStandardPath(s[len(vol):])
s = filepath.FromSlash(s)
if !noUNC {
// Convert to UNC
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`},
{`c:/temp`, `c:\temp`},
{`/temp/file.txt`, `\temp\file.txt`},
{`C:/temp/file.txt`, `C:\temp\file.txt`},
{`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
// "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
//
// 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) {
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) {
resp, err = f.srv.CallJSON(ctx, &opts, nil, &info)
return shouldRetry(resp, err)

View File

@@ -1,11 +1,22 @@
---
title: "Documentation"
description: "Rclone Changelog"
date: "2019-10-26"
date: "2019-11-02"
---
# 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
* New backends

View File

@@ -1,5 +1,5 @@
---
date: 2019-10-26T11:04:03+01:00
date: 2019-11-02T14:26:08Z
title: "rclone"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: 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"
slug: rclone_version
url: /commands/rclone_version/

View File

@@ -1,7 +1,7 @@
---
title: "Global Flags"
description: "Rclone Global Flags"
date: "2019-10-26T11:04:03+01:00"
date: "2019-11-02T14:26:08Z"
---
# Global Flags
@@ -127,7 +127,7 @@ These flags are available for every command.
--use-json-log Use json log format.
--use-mmap Use mmap allocator (see docs).
--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)
```

View File

@@ -340,6 +340,7 @@ Authentication is required for this call.
### config/get: Get a remote in the config file. {#config/get}
Parameters:
- name - name of remote to get
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.
Parameters
- group - name of the stats group (string)
Returns the following values:
@@ -523,8 +525,8 @@ This clears counters and errors for all stats or specific stats group if group
is provided.
Parameters
- group - name of the stats group (string)
```
### core/transferred: Returns stats about completed transfers. {#core/transferred}
@@ -538,6 +540,7 @@ returned.
Note only the last 100 completed transfers are returned.
Parameters
- group - name of the stats group (string)
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}
This shows the current version of go and the go runtime
- version - rclone version, eg "v1.44"
- decomposed - version number as [major, minor, patch, subpatch]
- 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
Results
- jobids - array of integer job ids
### job/status: Reads the status of the job ID {#job/status}
Parameters
- jobid - id of the job (integer)
Results
- finished - boolean
- duration - time in seconds that the job ran for
- 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}
Parameters
- jobid - id of the job (integer)
### 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.
Parameters
- group - name of the stats group (string)
Returns the following values:
@@ -140,6 +141,7 @@ returned.
Note only the last 100 completed transfers are returned.
Parameters
- group - name of the stats group (string)
Returns the following values:
@@ -192,8 +194,8 @@ This clears counters and errors for all stats or specific stats group if group
is provided.
Parameters
- group - name of the stats group (string)
` + "```" + `
`,
})
}

View File

@@ -37,6 +37,7 @@ func init() {
AuthRequired: true,
Help: `
Parameters:
- name - name of remote to get
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
if tpsBucket != nil {
tbErr := tpsBucket.Wait(req.Context())
if tbErr != nil {
fs.Errorf(nil, "HTTP token bucket error: %v", err)
if tbErr != nil && tbErr != context.Canceled {
fs.Errorf(nil, "HTTP token bucket error: %v", tbErr)
}
}
// Force user agent

View File

@@ -66,7 +66,7 @@ func init() {
MD5 = RegisterHash("MD5", 32, md5.New)
SHA1 = RegisterHash("SHA-1", 40, sha1.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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
package fs
// 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