Compare commits
11 commits
tcl/master
...
v1.50-fixe
Author | SHA1 | Date | |
---|---|---|---|
|
373fb01725 | ||
|
7766c5c90b | ||
|
473a437163 | ||
|
9662554f53 | ||
|
db930850cc | ||
|
6f8558f61a | ||
|
d4fe62ec08 | ||
|
9d69bc0b48 | ||
|
f91b120be7 | ||
|
fb25a926d7 | ||
|
6c10b162ea |
90 changed files with 31966 additions and 25497 deletions
14590
MANUAL.html
generated
14590
MANUAL.html
generated
File diff suppressed because one or more lines are too long
33
MANUAL.md
generated
33
MANUAL.md
generated
|
@ -1,6 +1,6 @@
|
|||
% rclone(1) User Manual
|
||||
% Nick Craig-Wood
|
||||
% Oct 26, 2019
|
||||
% Nov 19, 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.2")
|
||||
-v, --verbose count Print lots more stuff (repeat for more)
|
||||
```
|
||||
|
||||
|
@ -20181,6 +20189,25 @@ to override the default choice.
|
|||
|
||||
# Changelog
|
||||
|
||||
## v1.50.2 - 2019-11-19
|
||||
|
||||
* Bug Fixes
|
||||
* accounting: Fix memory leak on retries operations (Nick Craig-Wood)
|
||||
* Drive
|
||||
* Fix listing of the root directory with drive.files scope (Nick Craig-Wood)
|
||||
* Fix --drive-root-folder-id with team/shared drives (Nick Craig-Wood)
|
||||
|
||||
## 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
|
||||
|
|
13487
MANUAL.txt
generated
13487
MANUAL.txt
generated
File diff suppressed because it is too large
Load diff
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
v1.50.0
|
||||
v1.50.2
|
||||
|
|
|
@ -1021,16 +1021,22 @@ func NewFs(name, path string, m configmap.Mapper) (fs.Fs, error) {
|
|||
}
|
||||
|
||||
// set root folder for a team drive or query the user root folder
|
||||
if f.isTeamDrive {
|
||||
f.rootFolderID = f.opt.TeamDriveID
|
||||
} else if opt.RootFolderID != "" {
|
||||
if opt.RootFolderID != "" {
|
||||
// override root folder if set or cached in the config
|
||||
f.rootFolderID = opt.RootFolderID
|
||||
} else if f.isTeamDrive {
|
||||
f.rootFolderID = f.opt.TeamDriveID
|
||||
} else {
|
||||
// Look up the root ID and cache it in the config
|
||||
rootID, err := f.getRootID()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
if gerr, ok := errors.Cause(err).(*googleapi.Error); ok && gerr.Code == 404 {
|
||||
// 404 means that this scope does not have permission to get the
|
||||
// root so just use "root"
|
||||
rootID = "root"
|
||||
} else {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
f.rootFolderID = rootID
|
||||
m.Set("root_folder_id", rootID)
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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:\<>"|?*:&\<>"|?*:&\<>"|?*:&`},
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1,11 +1,30 @@
|
|||
---
|
||||
title: "Documentation"
|
||||
description: "Rclone Changelog"
|
||||
date: "2019-10-26"
|
||||
date: "2019-11-19"
|
||||
---
|
||||
|
||||
# Changelog
|
||||
|
||||
## v1.50.2 - 2019-11-19
|
||||
|
||||
* Bug Fixes
|
||||
* accounting: Fix memory leak on retries operations (Nick Craig-Wood)
|
||||
* Drive
|
||||
* Fix listing of the root directory with drive.files scope (Nick Craig-Wood)
|
||||
* Fix --drive-root-folder-id with team/shared drives (Nick Craig-Wood)
|
||||
|
||||
## 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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone"
|
||||
slug: rclone
|
||||
url: /commands/rclone/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone about"
|
||||
slug: rclone_about
|
||||
url: /commands/rclone_about/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone authorize"
|
||||
slug: rclone_authorize
|
||||
url: /commands/rclone_authorize/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone cachestats"
|
||||
slug: rclone_cachestats
|
||||
url: /commands/rclone_cachestats/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone cat"
|
||||
slug: rclone_cat
|
||||
url: /commands/rclone_cat/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone check"
|
||||
slug: rclone_check
|
||||
url: /commands/rclone_check/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone cleanup"
|
||||
slug: rclone_cleanup
|
||||
url: /commands/rclone_cleanup/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone config"
|
||||
slug: rclone_config
|
||||
url: /commands/rclone_config/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
title: "rclone copy"
|
||||
slug: rclone_copy
|
||||
url: /commands/rclone_copy/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone copyto"
|
||||
slug: rclone_copyto
|
||||
url: /commands/rclone_copyto/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone copyurl"
|
||||
slug: rclone_copyurl
|
||||
url: /commands/rclone_copyurl/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone cryptcheck"
|
||||
slug: rclone_cryptcheck
|
||||
url: /commands/rclone_cryptcheck/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone cryptdecode"
|
||||
slug: rclone_cryptdecode
|
||||
url: /commands/rclone_cryptdecode/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone dbhashsum"
|
||||
slug: rclone_dbhashsum
|
||||
url: /commands/rclone_dbhashsum/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone dedupe"
|
||||
slug: rclone_dedupe
|
||||
url: /commands/rclone_dedupe/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone delete"
|
||||
slug: rclone_delete
|
||||
url: /commands/rclone_delete/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone deletefile"
|
||||
slug: rclone_deletefile
|
||||
url: /commands/rclone_deletefile/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone genautocomplete"
|
||||
slug: rclone_genautocomplete
|
||||
url: /commands/rclone_genautocomplete/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
title: "rclone gendocs"
|
||||
slug: rclone_gendocs
|
||||
url: /commands/rclone_gendocs/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone hashsum"
|
||||
slug: rclone_hashsum
|
||||
url: /commands/rclone_hashsum/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone link"
|
||||
slug: rclone_link
|
||||
url: /commands/rclone_link/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone listremotes"
|
||||
slug: rclone_listremotes
|
||||
url: /commands/rclone_listremotes/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone ls"
|
||||
slug: rclone_ls
|
||||
url: /commands/rclone_ls/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone lsd"
|
||||
slug: rclone_lsd
|
||||
url: /commands/rclone_lsd/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone lsf"
|
||||
slug: rclone_lsf
|
||||
url: /commands/rclone_lsf/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone lsjson"
|
||||
slug: rclone_lsjson
|
||||
url: /commands/rclone_lsjson/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone lsl"
|
||||
slug: rclone_lsl
|
||||
url: /commands/rclone_lsl/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone md5sum"
|
||||
slug: rclone_md5sum
|
||||
url: /commands/rclone_md5sum/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone mkdir"
|
||||
slug: rclone_mkdir
|
||||
url: /commands/rclone_mkdir/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone mount"
|
||||
slug: rclone_mount
|
||||
url: /commands/rclone_mount/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone move"
|
||||
slug: rclone_move
|
||||
url: /commands/rclone_move/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone moveto"
|
||||
slug: rclone_moveto
|
||||
url: /commands/rclone_moveto/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone ncdu"
|
||||
slug: rclone_ncdu
|
||||
url: /commands/rclone_ncdu/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone obscure"
|
||||
slug: rclone_obscure
|
||||
url: /commands/rclone_obscure/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone purge"
|
||||
slug: rclone_purge
|
||||
url: /commands/rclone_purge/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone rc"
|
||||
slug: rclone_rc
|
||||
url: /commands/rclone_rc/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone rcat"
|
||||
slug: rclone_rcat
|
||||
url: /commands/rclone_rcat/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone rcd"
|
||||
slug: rclone_rcd
|
||||
url: /commands/rclone_rcd/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone rmdir"
|
||||
slug: rclone_rmdir
|
||||
url: /commands/rclone_rmdir/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone rmdirs"
|
||||
slug: rclone_rmdirs
|
||||
url: /commands/rclone_rmdirs/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone serve"
|
||||
slug: rclone_serve
|
||||
url: /commands/rclone_serve/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
title: "rclone serve sftp"
|
||||
slug: rclone_serve_sftp
|
||||
url: /commands/rclone_serve_sftp/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
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: 2019-11-19T16:02:36Z
|
||||
title: "rclone settier"
|
||||
slug: rclone_settier
|
||||
url: /commands/rclone_settier/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone sha1sum"
|
||||
slug: rclone_sha1sum
|
||||
url: /commands/rclone_sha1sum/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone size"
|
||||
slug: rclone_size
|
||||
url: /commands/rclone_size/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone sync"
|
||||
slug: rclone_sync
|
||||
url: /commands/rclone_sync/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone touch"
|
||||
slug: rclone_touch
|
||||
url: /commands/rclone_touch/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone tree"
|
||||
slug: rclone_tree
|
||||
url: /commands/rclone_tree/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
date: 2019-10-26T11:04:03+01:00
|
||||
date: 2019-11-19T16:02:36Z
|
||||
title: "rclone version"
|
||||
slug: rclone_version
|
||||
url: /commands/rclone_version/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: "Global Flags"
|
||||
description: "Rclone Global Flags"
|
||||
date: "2019-10-26T11:04:03+01:00"
|
||||
date: "2019-11-19T16:02:36Z"
|
||||
---
|
||||
|
||||
# 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.2")
|
||||
-v, --verbose count Print lots more stuff (repeat for more)
|
||||
```
|
||||
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -1 +1 @@
|
|||
v1.50.0
|
||||
v1.50.2
|
|
@ -70,6 +70,10 @@ func newAccountSizeName(stats *StatsInfo, in io.ReadCloser, size int64, name str
|
|||
|
||||
// WithBuffer - If the file is above a certain size it adds an Async reader
|
||||
func (acc *Account) WithBuffer() *Account {
|
||||
// if already have a buffer then just return
|
||||
if acc.withBuf {
|
||||
return acc
|
||||
}
|
||||
acc.withBuf = true
|
||||
var buffers int
|
||||
if acc.size >= int64(fs.Config.BufferSize) || acc.size == -1 {
|
||||
|
@ -118,14 +122,16 @@ func (acc *Account) StopBuffering() {
|
|||
// async buffer (if any) and re-adding it
|
||||
func (acc *Account) UpdateReader(in io.ReadCloser) {
|
||||
acc.mu.Lock()
|
||||
if acc.withBuf {
|
||||
withBuf := acc.withBuf
|
||||
if withBuf {
|
||||
acc.StopBuffering()
|
||||
acc.withBuf = false
|
||||
}
|
||||
acc.in = in
|
||||
acc.close = in
|
||||
acc.origIn = in
|
||||
acc.closed = false
|
||||
if acc.withBuf {
|
||||
if withBuf {
|
||||
acc.WithBuffer()
|
||||
}
|
||||
acc.mu.Unlock()
|
||||
|
|
|
@ -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)
|
||||
` + "```" + `
|
||||
`,
|
||||
})
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
`,
|
||||
})
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package fs
|
||||
|
||||
// Version of rclone
|
||||
var Version = "v1.50.0"
|
||||
var Version = "v1.50.2"
|
||||
|
|
Loading…
Add table
Reference in a new issue