mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 09:11:11 +08:00
build: fix up package paths after repo move
git grep -l github.com/ncw/rclone | xargs -d'\n' perl -i~ -lpe 's|github.com/ncw/rclone|github.com/rclone/rclone|g' goimports -w `find . -name \*.go`
This commit is contained in:
parent
4ba6532915
commit
57d5de6fba
|
@ -6,7 +6,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
machine: true
|
machine: true
|
||||||
|
|
||||||
working_directory: ~/.go_workspace/src/github.com/ncw/rclone
|
working_directory: ~/.go_workspace/src/github.com/rclone/rclone
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
|
2
.github/ISSUE_TEMPLATE.md
vendored
2
.github/ISSUE_TEMPLATE.md
vendored
|
@ -10,7 +10,7 @@ instead of filing an issue for a quick response.
|
||||||
|
|
||||||
If you are reporting a bug or asking for a new feature then please use one of the templates here:
|
If you are reporting a bug or asking for a new feature then please use one of the templates here:
|
||||||
|
|
||||||
https://github.com/ncw/rclone/issues/new
|
https://github.com/rclone/rclone/issues/new
|
||||||
|
|
||||||
otherwise fill in the form below.
|
otherwise fill in the form below.
|
||||||
|
|
||||||
|
|
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
@ -22,8 +22,8 @@ Link issues and relevant forum posts here.
|
||||||
|
|
||||||
#### Checklist
|
#### Checklist
|
||||||
|
|
||||||
- [ ] I have read the [contribution guidelines](https://github.com/ncw/rclone/blob/master/CONTRIBUTING.md#submitting-a-pull-request).
|
- [ ] I have read the [contribution guidelines](https://github.com/rclone/rclone/blob/master/CONTRIBUTING.md#submitting-a-pull-request).
|
||||||
- [ ] I have added tests for all changes in this PR if appropriate.
|
- [ ] I have added tests for all changes in this PR if appropriate.
|
||||||
- [ ] I have added documentation for the changes if appropriate.
|
- [ ] I have added documentation for the changes if appropriate.
|
||||||
- [ ] All commit messages are in [house style](https://github.com/ncw/rclone/blob/master/CONTRIBUTING.md#commit-messages).
|
- [ ] All commit messages are in [house style](https://github.com/rclone/rclone/blob/master/CONTRIBUTING.md#commit-messages).
|
||||||
- [ ] I'm done, this Pull Request is ready for review :-)
|
- [ ] I'm done, this Pull Request is ready for review :-)
|
||||||
|
|
|
@ -4,7 +4,7 @@ sudo: required
|
||||||
dist: xenial
|
dist: xenial
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
go_import_path: github.com/ncw/rclone
|
go_import_path: github.com/rclone/rclone
|
||||||
before_install:
|
before_install:
|
||||||
- git fetch --unshallow --tags
|
- git fetch --unshallow --tags
|
||||||
- |
|
- |
|
||||||
|
|
|
@ -29,12 +29,12 @@ You'll need a Go environment set up with GOPATH set. See [the Go
|
||||||
getting started docs](https://golang.org/doc/install) for more info.
|
getting started docs](https://golang.org/doc/install) for more info.
|
||||||
|
|
||||||
First in your web browser press the fork button on [rclone's GitHub
|
First in your web browser press the fork button on [rclone's GitHub
|
||||||
page](https://github.com/ncw/rclone).
|
page](https://github.com/rclone/rclone).
|
||||||
|
|
||||||
Now in your terminal
|
Now in your terminal
|
||||||
|
|
||||||
go get -u github.com/ncw/rclone
|
go get -u github.com/rclone/rclone
|
||||||
cd $GOPATH/src/github.com/ncw/rclone
|
cd $GOPATH/src/github.com/rclone/rclone
|
||||||
git remote rename origin upstream
|
git remote rename origin upstream
|
||||||
git remote add origin git@github.com:YOURUSER/rclone.git
|
git remote add origin git@github.com:YOURUSER/rclone.git
|
||||||
|
|
||||||
|
@ -127,7 +127,7 @@ If you want to use the integration test framework to run these tests
|
||||||
all together with an HTML report and test retries then from the
|
all together with an HTML report and test retries then from the
|
||||||
project root:
|
project root:
|
||||||
|
|
||||||
go install github.com/ncw/rclone/fstest/test_all
|
go install github.com/rclone/rclone/fstest/test_all
|
||||||
test_all -backend drive
|
test_all -backend drive
|
||||||
|
|
||||||
If you want to run all the integration tests against all the remotes,
|
If you want to run all the integration tests against all the remotes,
|
||||||
|
|
|
@ -51,7 +51,7 @@ The milestones have these meanings:
|
||||||
* Help wanted - blue sky stuff that might get moved up, or someone could help with
|
* Help wanted - blue sky stuff that might get moved up, or someone could help with
|
||||||
* Known bugs - bugs waiting on external factors or we aren't going to fix for the moment
|
* Known bugs - bugs waiting on external factors or we aren't going to fix for the moment
|
||||||
|
|
||||||
Tickets [with no milestone](https://github.com/ncw/rclone/issues?utf8=✓&q=is%3Aissue%20is%3Aopen%20no%3Amile) are good candidates for ones that have slipped between the gaps and need following up.
|
Tickets [with no milestone](https://github.com/rclone/rclone/issues?utf8=✓&q=is%3Aissue%20is%3Aopen%20no%3Amile) are good candidates for ones that have slipped between the gaps and need following up.
|
||||||
|
|
||||||
## Closing Tickets ##
|
## Closing Tickets ##
|
||||||
|
|
||||||
|
|
96
MANUAL.html
96
MANUAL.html
|
@ -82,7 +82,7 @@
|
||||||
<p>Links</p>
|
<p>Links</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://rclone.org/">Home page</a></li>
|
<li><a href="https://rclone.org/">Home page</a></li>
|
||||||
<li><a href="https://github.com/ncw/rclone">GitHub project page for source and bug tracker</a></li>
|
<li><a href="https://github.com/rclone/rclone">GitHub project page for source and bug tracker</a></li>
|
||||||
<li><a href="https://forum.rclone.org">Rclone Forum</a></li>
|
<li><a href="https://forum.rclone.org">Rclone Forum</a></li>
|
||||||
<li><a href="https://rclone.org/downloads/">Downloads</a></li>
|
<li><a href="https://rclone.org/downloads/">Downloads</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -132,13 +132,13 @@ sudo mv rclone /usr/local/bin/</code></pre>
|
||||||
<pre><code>rclone config</code></pre>
|
<pre><code>rclone config</code></pre>
|
||||||
<h2 id="install-from-source">Install from source</h2>
|
<h2 id="install-from-source">Install from source</h2>
|
||||||
<p>Make sure you have at least <a href="https://golang.org/">Go</a> 1.7 installed. <a href="https://golang.org/dl/">Download go</a> if necessary. The latest release is recommended. Then</p>
|
<p>Make sure you have at least <a href="https://golang.org/">Go</a> 1.7 installed. <a href="https://golang.org/dl/">Download go</a> if necessary. The latest release is recommended. Then</p>
|
||||||
<pre><code>git clone https://github.com/ncw/rclone.git
|
<pre><code>git clone https://github.com/rclone/rclone.git
|
||||||
cd rclone
|
cd rclone
|
||||||
go build
|
go build
|
||||||
./rclone version</code></pre>
|
./rclone version</code></pre>
|
||||||
<p>You can also build and install rclone in the <a href="https://github.com/golang/go/wiki/GOPATH">GOPATH</a> (which defaults to <code>~/go</code>) with:</p>
|
<p>You can also build and install rclone in the <a href="https://github.com/golang/go/wiki/GOPATH">GOPATH</a> (which defaults to <code>~/go</code>) with:</p>
|
||||||
<pre><code>go get -u -v github.com/ncw/rclone</code></pre>
|
<pre><code>go get -u -v github.com/rclone/rclone</code></pre>
|
||||||
<p>and this will build the binary in <code>$GOPATH/bin</code> (<code>~/go/bin/rclone</code> by default) after downloading the source to <code>$GOPATH/src/github.com/ncw/rclone</code> (<code>~/go/src/github.com/ncw/rclone</code> by default).</p>
|
<p>and this will build the binary in <code>$GOPATH/bin</code> (<code>~/go/bin/rclone</code> by default) after downloading the source to <code>$GOPATH/src/github.com/rclone/rclone</code> (<code>~/go/src/github.com/rclone/rclone</code> by default).</p>
|
||||||
<h2 id="installation-with-ansible">Installation with Ansible</h2>
|
<h2 id="installation-with-ansible">Installation with Ansible</h2>
|
||||||
<p>This can be done with <a href="https://github.com/stefangweichinger/ansible-rclone">Stefan Weichinger’s ansible role</a>.</p>
|
<p>This can be done with <a href="https://github.com/stefangweichinger/ansible-rclone">Stefan Weichinger’s ansible role</a>.</p>
|
||||||
<p>Instructions</p>
|
<p>Instructions</p>
|
||||||
|
@ -1189,7 +1189,7 @@ umount /path/to/local/mount</code></pre>
|
||||||
<h3 id="attribute-caching">Attribute caching</h3>
|
<h3 id="attribute-caching">Attribute caching</h3>
|
||||||
<p>You can use the flag –attr-timeout to set the time the kernel caches the attributes (size, modification time etc) for directory entries.</p>
|
<p>You can use the flag –attr-timeout to set the time the kernel caches the attributes (size, modification time etc) for directory entries.</p>
|
||||||
<p>The default is “1s” which caches files just long enough to avoid too many callbacks to rclone from the kernel.</p>
|
<p>The default is “1s” which caches files just long enough to avoid too many callbacks to rclone from the kernel.</p>
|
||||||
<p>In theory 0s should be the correct value for filesystems which can change outside the control of the kernel. However this causes quite a few problems such as <a href="https://github.com/ncw/rclone/issues/2157">rclone using too much memory</a>, <a href="https://forum.rclone.org/t/rclone-1-39-vs-1-40-mount-issue/5112">rclone not serving files to samba</a> and <a href="https://github.com/ncw/rclone/issues/2095#issuecomment-371141147">excessive time listing directories</a>.</p>
|
<p>In theory 0s should be the correct value for filesystems which can change outside the control of the kernel. However this causes quite a few problems such as <a href="https://github.com/rclone/rclone/issues/2157">rclone using too much memory</a>, <a href="https://forum.rclone.org/t/rclone-1-39-vs-1-40-mount-issue/5112">rclone not serving files to samba</a> and <a href="https://github.com/rclone/rclone/issues/2095#issuecomment-371141147">excessive time listing directories</a>.</p>
|
||||||
<p>The kernel can cache the info about a file for the time given by “–attr-timeout”. You may see corruption if the remote file changes length during this window. It will show up as either a truncated file or a file with garbage on the end. With “–attr-timeout 1s” this is very unlikely but not impossible. The higher you set “–attr-timeout” the more likely it is. The default setting of “1s” is the lowest setting which mitigates the problems above.</p>
|
<p>The kernel can cache the info about a file for the time given by “–attr-timeout”. You may see corruption if the remote file changes length during this window. It will show up as either a truncated file or a file with garbage on the end. With “–attr-timeout 1s” this is very unlikely but not impossible. The higher you set “–attr-timeout” the more likely it is. The default setting of “1s” is the lowest setting which mitigates the problems above.</p>
|
||||||
<p>If you set it higher (‘10s’ or ‘1m’ say) then the kernel will call back to rclone less often making it more efficient, however there is more chance of the corruption issue above.</p>
|
<p>If you set it higher (‘10s’ or ‘1m’ say) then the kernel will call back to rclone less often making it more efficient, however there is more chance of the corruption issue above.</p>
|
||||||
<p>If files don’t change on the remote outside of the control of rclone then there is no chance of corruption.</p>
|
<p>If files don’t change on the remote outside of the control of rclone then there is no chance of corruption.</p>
|
||||||
|
@ -2183,7 +2183,7 @@ htpasswd -B htpasswd anotherUser</code></pre>
|
||||||
<h3 id="windows">Windows</h3>
|
<h3 id="windows">Windows</h3>
|
||||||
<p>If your names have spaces in you need to put them in <code>"</code>, eg</p>
|
<p>If your names have spaces in you need to put them in <code>"</code>, eg</p>
|
||||||
<pre><code>rclone copy "E:\folder name\folder name\folder name" remote:backup</code></pre>
|
<pre><code>rclone copy "E:\folder name\folder name\folder name" remote:backup</code></pre>
|
||||||
<p>If you are using the root directory on its own then don’t quote it (see <a href="https://github.com/ncw/rclone/issues/464">#464</a> for why), eg</p>
|
<p>If you are using the root directory on its own then don’t quote it (see <a href="https://github.com/rclone/rclone/issues/464">#464</a> for why), eg</p>
|
||||||
<pre><code>rclone copy E:\ remote:backup</code></pre>
|
<pre><code>rclone copy E:\ remote:backup</code></pre>
|
||||||
<h2 id="copying-files-or-directories-with-in-the-names">Copying files or directories with <code>:</code> in the names</h2>
|
<h2 id="copying-files-or-directories-with-in-the-names">Copying files or directories with <code>:</code> in the names</h2>
|
||||||
<p>rclone uses <code>:</code> to mark a remote name. This is, however, a valid filename component in non-Windows OSes. The remote name parser will only search for a <code>:</code> up to the first <code>/</code> so if you need to act on a file or directory like this then use the full path starting with a <code>/</code>, or use <code>./</code> as a current directory prefix.</p>
|
<p>rclone uses <code>:</code> to mark a remote name. This is, however, a valid filename component in non-Windows OSes. The remote name parser will only search for a <code>:</code> up to the first <code>/</code> so if you need to act on a file or directory like this then use the full path starting with a <code>/</code>, or use <code>./</code> as a current directory prefix.</p>
|
||||||
|
@ -2285,7 +2285,7 @@ rclone sync /path/to/files remote:current-backup</code></pre>
|
||||||
<h3 id="ignore-size">–ignore-size</h3>
|
<h3 id="ignore-size">–ignore-size</h3>
|
||||||
<p>Normally rclone will look at modification time and size of files to see if they are equal. If you set this flag then rclone will check only the modification time. If <code>--checksum</code> is set then it only checks the checksum.</p>
|
<p>Normally rclone will look at modification time and size of files to see if they are equal. If you set this flag then rclone will check only the modification time. If <code>--checksum</code> is set then it only checks the checksum.</p>
|
||||||
<p>It will also cause rclone to skip verifying the sizes are the same after transfer.</p>
|
<p>It will also cause rclone to skip verifying the sizes are the same after transfer.</p>
|
||||||
<p>This can be useful for transferring files to and from OneDrive which occasionally misreports the size of image files (see <a href="https://github.com/ncw/rclone/issues/399">#399</a> for more info).</p>
|
<p>This can be useful for transferring files to and from OneDrive which occasionally misreports the size of image files (see <a href="https://github.com/rclone/rclone/issues/399">#399</a> for more info).</p>
|
||||||
<h3 id="i-ignore-times">-I, –ignore-times</h3>
|
<h3 id="i-ignore-times">-I, –ignore-times</h3>
|
||||||
<p>Using this option will cause rclone to unconditionally upload all files regardless of the state of files on the destination.</p>
|
<p>Using this option will cause rclone to unconditionally upload all files regardless of the state of files on the destination.</p>
|
||||||
<p>Normally rclone would skip any files that have the same modification time and are the same size (or have the same checksum if using <code>--checksum</code>).</p>
|
<p>Normally rclone would skip any files that have the same modification time and are the same size (or have the same checksum if using <code>--checksum</code>).</p>
|
||||||
|
@ -3507,14 +3507,14 @@ $ echo $?
|
||||||
<pre><code>$ go tool pprof -text http://localhost:5572/debug/pprof/heap
|
<pre><code>$ go tool pprof -text http://localhost:5572/debug/pprof/heap
|
||||||
Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
flat flat% sum% cum cum%
|
flat flat% sum% cum cum%
|
||||||
1024.03kB 66.62% 66.62% 1024.03kB 66.62% github.com/ncw/rclone/vendor/golang.org/x/net/http2/hpack.addDecoderNode
|
1024.03kB 66.62% 66.62% 1024.03kB 66.62% github.com/rclone/rclone/vendor/golang.org/x/net/http2/hpack.addDecoderNode
|
||||||
513kB 33.38% 100% 513kB 33.38% net/http.newBufioWriterSize
|
513kB 33.38% 100% 513kB 33.38% net/http.newBufioWriterSize
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/cmd/all.init
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/cmd/all.init
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/cmd/serve.init
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/cmd/serve.init
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/cmd/serve/restic.init
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/cmd/serve/restic.init
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/vendor/golang.org/x/net/http2.init
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/vendor/golang.org/x/net/http2.init
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/vendor/golang.org/x/net/http2/hpack.init
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/vendor/golang.org/x/net/http2/hpack.init
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/vendor/golang.org/x/net/http2/hpack.init.0
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/vendor/golang.org/x/net/http2/hpack.init.0
|
||||||
0 0% 100% 1024.03kB 66.62% main.init
|
0 0% 100% 1024.03kB 66.62% main.init
|
||||||
0 0% 100% 513kB 33.38% net/http.(*conn).readRequest
|
0 0% 100% 513kB 33.38% net/http.(*conn).readRequest
|
||||||
0 0% 100% 513kB 33.38% net/http.(*conn).serve
|
0 0% 100% 513kB 33.38% net/http.(*conn).serve
|
||||||
|
@ -3790,10 +3790,10 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/575">#575</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/575">#575</a></td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/2178">#2178</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/2178">#2178</a></td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
|
@ -3805,7 +3805,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/2178">#2178</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/2178">#2178</a></td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
|
@ -3817,7 +3817,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/2178">#2178</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/2178">#2178</a></td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
|
@ -3826,7 +3826,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/575">#575</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/575">#575</a></td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
|
@ -3838,7 +3838,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/575">#575</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/575">#575</a></td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
|
@ -3853,7 +3853,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/2178">#2178</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/2178">#2178</a></td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
|
@ -3865,7 +3865,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/2178">#2178</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/2178">#2178</a></td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
|
@ -3889,7 +3889,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/2178">#2178</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/2178">#2178</a></td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
|
@ -3901,7 +3901,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/2178">#2178</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/2178">#2178</a></td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
|
@ -3925,7 +3925,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/2178">#2178</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/2178">#2178</a></td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
|
@ -3937,7 +3937,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/2178">#2178</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/2178">#2178</a></td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
|
@ -3946,7 +3946,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/575">#575</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/575">#575</a></td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
|
@ -3973,7 +3973,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/2178">#2178</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/2178">#2178</a></td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
|
@ -3985,7 +3985,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/2178">#2178</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/2178">#2178</a></td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
|
@ -3997,7 +3997,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/2178">#2178</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/2178">#2178</a></td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
|
@ -4009,7 +4009,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/2178">#2178</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/2178">#2178</a></td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
|
@ -4021,7 +4021,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">No</td>
|
<td style="text-align: center;">No</td>
|
||||||
<td style="text-align: center;">Yes ‡</td>
|
<td style="text-align: center;">Yes ‡</td>
|
||||||
<td style="text-align: center;">No <a href="https://github.com/ncw/rclone/issues/2178">#2178</a></td>
|
<td style="text-align: center;">No <a href="https://github.com/rclone/rclone/issues/2178">#2178</a></td>
|
||||||
<td style="text-align: center;">Yes</td>
|
<td style="text-align: center;">Yes</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
|
@ -4666,7 +4666,7 @@ In the case the object is larger than 5Gb or is in Glacier or Glacier Deep Archi
|
||||||
<p>For reference, <a href="https://gist.github.com/ebridges/ebfc9042dd7c756cd101cfa807b7ae2b">here’s an Ansible script</a> that will generate one or more buckets that will work with <code>rclone sync</code>.</p>
|
<p>For reference, <a href="https://gist.github.com/ebridges/ebfc9042dd7c756cd101cfa807b7ae2b">here’s an Ansible script</a> that will generate one or more buckets that will work with <code>rclone sync</code>.</p>
|
||||||
<h3 id="key-management-system-kms">Key Management System (KMS)</h3>
|
<h3 id="key-management-system-kms">Key Management System (KMS)</h3>
|
||||||
<p>If you are using server side encryption with KMS then you will find you can’t transfer small objects. As a work-around you can use the <code>--ignore-checksum</code> flag.</p>
|
<p>If you are using server side encryption with KMS then you will find you can’t transfer small objects. As a work-around you can use the <code>--ignore-checksum</code> flag.</p>
|
||||||
<p>A proper fix is being worked on in <a href="https://github.com/ncw/rclone/issues/1824">issue #1824</a>.</p>
|
<p>A proper fix is being worked on in <a href="https://github.com/rclone/rclone/issues/1824">issue #1824</a>.</p>
|
||||||
<h3 id="glacier-and-glacier-deep-archive">Glacier and Glacier Deep Archive</h3>
|
<h3 id="glacier-and-glacier-deep-archive">Glacier and Glacier Deep Archive</h3>
|
||||||
<p>You can upload objects using the glacier storage class or transition them to glacier using a <a href="http://docs.aws.amazon.com/AmazonS3/latest/user-guide/create-lifecycle.html">lifecycle policy</a>. The bucket can still be synced or copied into normally, but if rclone tries to access data from the glacier storage class you will see an error like below.</p>
|
<p>You can upload objects using the glacier storage class or transition them to glacier using a <a href="http://docs.aws.amazon.com/AmazonS3/latest/user-guide/create-lifecycle.html">lifecycle policy</a>. The bucket can still be synced or copied into normally, but if rclone tries to access data from the glacier storage class you will see an error like below.</p>
|
||||||
<pre><code>2017/09/11 19:07:43 Failed to sync: failed to open source object: Object in GLACIER, restore first: path/to/file</code></pre>
|
<pre><code>2017/09/11 19:07:43 Failed to sync: failed to open source object: Object in GLACIER, restore first: path/to/file</code></pre>
|
||||||
|
@ -6233,7 +6233,7 @@ y/e/d> y</code></pre>
|
||||||
<p>The SHA1 checksums of the files are checked on upload and download and will be used in the syncing process.</p>
|
<p>The SHA1 checksums of the files are checked on upload and download and will be used in the syncing process.</p>
|
||||||
<p>Large files (bigger than the limit in <code>--b2-upload-cutoff</code>) which are uploaded in chunks will store their SHA1 on the object as <code>X-Bz-Info-large_file_sha1</code> as recommended by Backblaze.</p>
|
<p>Large files (bigger than the limit in <code>--b2-upload-cutoff</code>) which are uploaded in chunks will store their SHA1 on the object as <code>X-Bz-Info-large_file_sha1</code> as recommended by Backblaze.</p>
|
||||||
<p>For a large file to be uploaded with an SHA1 checksum, the source needs to support SHA1 checksums. The local disk supports SHA1 checksums so large file transfers from local disk will have an SHA1. See <a href="/overview/#features">the overview</a> for exactly which remotes support SHA1.</p>
|
<p>For a large file to be uploaded with an SHA1 checksum, the source needs to support SHA1 checksums. The local disk supports SHA1 checksums so large file transfers from local disk will have an SHA1. See <a href="/overview/#features">the overview</a> for exactly which remotes support SHA1.</p>
|
||||||
<p>Sources which don’t support SHA1, in particular <code>crypt</code> will upload large files without SHA1 checksums. This may be fixed in the future (see <a href="https://github.com/ncw/rclone/issues/1767">#1767</a>).</p>
|
<p>Sources which don’t support SHA1, in particular <code>crypt</code> will upload large files without SHA1 checksums. This may be fixed in the future (see <a href="https://github.com/rclone/rclone/issues/1767">#1767</a>).</p>
|
||||||
<p>Files sizes below <code>--b2-upload-cutoff</code> will always have an SHA1 regardless of the source.</p>
|
<p>Files sizes below <code>--b2-upload-cutoff</code> will always have an SHA1 regardless of the source.</p>
|
||||||
<h3 id="transfers">Transfers</h3>
|
<h3 id="transfers">Transfers</h3>
|
||||||
<p>Backblaze recommends that you do lots of transfers simultaneously for maximum speed. In tests from my SSD equipped laptop the optimum setting is about <code>--transfers 32</code> though higher numbers may be used for a slight speed improvement. The optimum number for you may vary depending on your hardware, how big the files are, how much you want to load your computer, etc. The default of <code>--transfers 4</code> is definitely too low for Backblaze B2 though.</p>
|
<p>Backblaze recommends that you do lots of transfers simultaneously for maximum speed. In tests from my SSD equipped laptop the optimum setting is about <code>--transfers 32</code> though higher numbers may be used for a slight speed improvement. The optimum number for you may vary depending on your hardware, how big the files are, how much you want to load your computer, etc. The default of <code>--transfers 4</code> is definitely too low for Backblaze B2 though.</p>
|
||||||
|
@ -6241,7 +6241,7 @@ y/e/d> y</code></pre>
|
||||||
<h3 id="versions">Versions</h3>
|
<h3 id="versions">Versions</h3>
|
||||||
<p>When rclone uploads a new version of a file it creates a <a href="https://www.backblaze.com/b2/docs/file_versions.html">new version of it</a>. Likewise when you delete a file, the old version will be marked hidden and still be available. Conversely, you may opt in to a “hard delete” of files with the <code>--b2-hard-delete</code> flag which would permanently remove the file instead of hiding it.</p>
|
<p>When rclone uploads a new version of a file it creates a <a href="https://www.backblaze.com/b2/docs/file_versions.html">new version of it</a>. Likewise when you delete a file, the old version will be marked hidden and still be available. Conversely, you may opt in to a “hard delete” of files with the <code>--b2-hard-delete</code> flag which would permanently remove the file instead of hiding it.</p>
|
||||||
<p>Old versions of files, where available, are visible using the <code>--b2-versions</code> flag.</p>
|
<p>Old versions of files, where available, are visible using the <code>--b2-versions</code> flag.</p>
|
||||||
<p><strong>NB</strong> Note that <code>--b2-versions</code> does not work with crypt at the moment <a href="https://github.com/ncw/rclone/issues/1627">#1627</a>. Using <a href="/docs/#backup-dir-dir">–backup-dir</a> with rclone is the recommended way of working around this.</p>
|
<p><strong>NB</strong> Note that <code>--b2-versions</code> does not work with crypt at the moment <a href="https://github.com/rclone/rclone/issues/1627">#1627</a>. Using <a href="/docs/#backup-dir-dir">–backup-dir</a> with rclone is the recommended way of working around this.</p>
|
||||||
<p>If you wish to remove all the old versions then you can use the <code>rclone cleanup remote:bucket</code> command which will delete all the old versions of files, leaving the current ones intact. You can also supply a path and only old versions under that path will be deleted, eg <code>rclone cleanup remote:bucket/path/to/stuff</code>.</p>
|
<p>If you wish to remove all the old versions then you can use the <code>rclone cleanup remote:bucket</code> command which will delete all the old versions of files, leaving the current ones intact. You can also supply a path and only old versions under that path will be deleted, eg <code>rclone cleanup remote:bucket/path/to/stuff</code>.</p>
|
||||||
<p>Note that <code>cleanup</code> will remove partially uploaded files from the bucket if they are more than a day old.</p>
|
<p>Note that <code>cleanup</code> will remove partially uploaded files from the bucket if they are more than a day old.</p>
|
||||||
<p>When you <code>purge</code> a bucket, the current and the old versions will be deleted then the bucket will be deleted.</p>
|
<p>When you <code>purge</code> a bucket, the current and the old versions will be deleted then the bucket will be deleted.</p>
|
||||||
|
@ -6276,7 +6276,7 @@ $ rclone -q --b2-versions ls b2:cleanup-test
|
||||||
/b2api/v1/b2_create_bucket
|
/b2api/v1/b2_create_bucket
|
||||||
/b2api/v1/b2_list_buckets
|
/b2api/v1/b2_list_buckets
|
||||||
/b2api/v1/b2_list_file_names</code></pre>
|
/b2api/v1/b2_list_file_names</code></pre>
|
||||||
<p>The <code>b2_list_file_names</code> request will be sent once for every 1k files in the remote path, providing the checksum and modification time of the listed files. As of version 1.33 issue <a href="https://github.com/ncw/rclone/issues/818">#818</a> causes extra requests to be sent when using B2 with Crypt. When a copy operation does not require any files to be uploaded, no more requests will be sent.</p>
|
<p>The <code>b2_list_file_names</code> request will be sent once for every 1k files in the remote path, providing the checksum and modification time of the listed files. As of version 1.33 issue <a href="https://github.com/rclone/rclone/issues/818">#818</a> causes extra requests to be sent when using B2 with Crypt. When a copy operation does not require any files to be uploaded, no more requests will be sent.</p>
|
||||||
<p>Uploading files that do not require chunking, will send 2 requests per file upload:</p>
|
<p>Uploading files that do not require chunking, will send 2 requests per file upload:</p>
|
||||||
<pre><code>/b2api/v1/b2_get_upload_url
|
<pre><code>/b2api/v1/b2_get_upload_url
|
||||||
/b2api/v1/b2_upload_file/</code></pre>
|
/b2api/v1/b2_upload_file/</code></pre>
|
||||||
|
@ -6731,9 +6731,9 @@ chunk_total_size = 10G</code></pre>
|
||||||
<p>Most of the issues seem to be related to the difference between filesystems on Linux flavors and Windows as cache is heavily dependant on them.</p>
|
<p>Most of the issues seem to be related to the difference between filesystems on Linux flavors and Windows as cache is heavily dependant on them.</p>
|
||||||
<p>Any reports or feedback on how cache behaves on this OS is greatly appreciated.</p>
|
<p>Any reports or feedback on how cache behaves on this OS is greatly appreciated.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>https://github.com/ncw/rclone/issues/1935</li>
|
<li>https://github.com/rclone/rclone/issues/1935</li>
|
||||||
<li>https://github.com/ncw/rclone/issues/1907</li>
|
<li>https://github.com/rclone/rclone/issues/1907</li>
|
||||||
<li>https://github.com/ncw/rclone/issues/1834</li>
|
<li>https://github.com/rclone/rclone/issues/1834</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h4 id="risk-of-throttling">Risk of throttling</h4>
|
<h4 id="risk-of-throttling">Risk of throttling</h4>
|
||||||
<p>Future iterations of the cache backend will make use of the pooling functionality of the cloud provider to synchronize and at the same time make writing through it more tolerant to failures.</p>
|
<p>Future iterations of the cache backend will make use of the pooling functionality of the cloud provider to synchronize and at the same time make writing through it more tolerant to failures.</p>
|
||||||
|
@ -6741,8 +6741,8 @@ chunk_total_size = 10G</code></pre>
|
||||||
<p>Some recommendations: - don’t use a very small interval for entry informations (<code>--cache-info-age</code>) - while writes aren’t yet optimised, you can still write through <code>cache</code> which gives you the advantage of adding the file in the cache at the same time if configured to do so.</p>
|
<p>Some recommendations: - don’t use a very small interval for entry informations (<code>--cache-info-age</code>) - while writes aren’t yet optimised, you can still write through <code>cache</code> which gives you the advantage of adding the file in the cache at the same time if configured to do so.</p>
|
||||||
<p>Future enhancements:</p>
|
<p>Future enhancements:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>https://github.com/ncw/rclone/issues/1937</li>
|
<li>https://github.com/rclone/rclone/issues/1937</li>
|
||||||
<li>https://github.com/ncw/rclone/issues/1936</li>
|
<li>https://github.com/rclone/rclone/issues/1936</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h4 id="cache-and-crypt">cache and crypt</h4>
|
<h4 id="cache-and-crypt">cache and crypt</h4>
|
||||||
<p>One common scenario is to keep your data encrypted in the cloud provider using the <code>crypt</code> remote. <code>crypt</code> uses a similar technique to wrap around an existing remote and handles this translation in a seamless way.</p>
|
<p>One common scenario is to keep your data encrypted in the cloud provider using the <code>crypt</code> remote. <code>crypt</code> uses a similar technique to wrap around an existing remote and handles this translation in a seamless way.</p>
|
||||||
|
@ -8661,7 +8661,7 @@ trashed=false and 'c' in parents</code></pre>
|
||||||
<h4 id="drive-alternate-export">–drive-alternate-export</h4>
|
<h4 id="drive-alternate-export">–drive-alternate-export</h4>
|
||||||
<p>Use alternate export URLs for google documents export.,</p>
|
<p>Use alternate export URLs for google documents export.,</p>
|
||||||
<p>If this option is set this instructs rclone to use an alternate set of export URLs for drive documents. Users have reported that the official export URLs can’t export large documents, whereas these unofficial ones can.</p>
|
<p>If this option is set this instructs rclone to use an alternate set of export URLs for drive documents. Users have reported that the official export URLs can’t export large documents, whereas these unofficial ones can.</p>
|
||||||
<p>See rclone issue <a href="https://github.com/ncw/rclone/issues/2243">#2243</a> for background, <a href="https://issuetracker.google.com/issues/36761333">this google drive issue</a> and <a href="https://www.labnol.org/internet/direct-links-for-google-drive/28356/">this helpful post</a>.</p>
|
<p>See rclone issue <a href="https://github.com/rclone/rclone/issues/2243">#2243</a> for background, <a href="https://issuetracker.google.com/issues/36761333">this google drive issue</a> and <a href="https://www.labnol.org/internet/direct-links-for-google-drive/28356/">this helpful post</a>.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Config: alternate_export</li>
|
<li>Config: alternate_export</li>
|
||||||
<li>Env Var: RCLONE_DRIVE_ALTERNATE_EXPORT</li>
|
<li>Env Var: RCLONE_DRIVE_ALTERNATE_EXPORT</li>
|
||||||
|
@ -9780,7 +9780,7 @@ y/e/d> y</code></pre>
|
||||||
<p>There are quite a few characters that can’t be in OneDrive file names. These can’t occur on Windows platforms, but on non-Windows platforms they are common. Rclone will map these names to and from an identical looking unicode equivalent. For example if a file has a <code>?</code> in it will be mapped to <code>?</code> instead.</p>
|
<p>There are quite a few characters that can’t be in OneDrive file names. These can’t occur on Windows platforms, but on non-Windows platforms they are common. Rclone will map these names to and from an identical looking unicode equivalent. For example if a file has a <code>?</code> in it will be mapped to <code>?</code> instead.</p>
|
||||||
<p>The largest allowed file sizes are 15GB for OneDrive for Business and 35GB for OneDrive Personal (Updated 4 Jan 2019).</p>
|
<p>The largest allowed file sizes are 15GB for OneDrive for Business and 35GB for OneDrive Personal (Updated 4 Jan 2019).</p>
|
||||||
<p>The entire path, including the file name, must contain fewer than 400 characters for OneDrive, OneDrive for Business and SharePoint Online. If you are encrypting file and folder names with rclone, you may want to pay attention to this limitation because the encrypted names are typically longer than the original ones.</p>
|
<p>The entire path, including the file name, must contain fewer than 400 characters for OneDrive, OneDrive for Business and SharePoint Online. If you are encrypting file and folder names with rclone, you may want to pay attention to this limitation because the encrypted names are typically longer than the original ones.</p>
|
||||||
<p>OneDrive seems to be OK with at least 50,000 files in a folder, but at 100,000 rclone will get errors listing the directory like <code>couldn’t list files: UnknownError:</code>. See <a href="https://github.com/ncw/rclone/issues/2707">#2707</a> for more info.</p>
|
<p>OneDrive seems to be OK with at least 50,000 files in a folder, but at 100,000 rclone will get errors listing the directory like <code>couldn’t list files: UnknownError:</code>. See <a href="https://github.com/rclone/rclone/issues/2707">#2707</a> for more info.</p>
|
||||||
<p>An official document about the limitations for different types of OneDrive can be found <a href="https://support.office.com/en-us/article/invalid-file-names-and-file-types-in-onedrive-onedrive-for-business-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa">here</a>.</p>
|
<p>An official document about the limitations for different types of OneDrive can be found <a href="https://support.office.com/en-us/article/invalid-file-names-and-file-types-in-onedrive-onedrive-for-business-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa">here</a>.</p>
|
||||||
<h3 id="versioning-issue">Versioning issue</h3>
|
<h3 id="versioning-issue">Versioning issue</h3>
|
||||||
<p>Every change in OneDrive causes the service to create a new version. This counts against a users quota. For example changing the modification time of a file creates a second version, so the file is using twice the space.</p>
|
<p>Every change in OneDrive causes the service to create a new version. This counts against a users quota. For example changing the modification time of a file creates a second version, so the file is using twice the space.</p>
|
||||||
|
@ -11214,7 +11214,7 @@ pass = encryptedpassword</code></pre>
|
||||||
<p>If you are using <code>put.io</code> with <code>rclone mount</code> then use the <code>--read-only</code> flag to signal to the OS that it can’t write to the mount.</p>
|
<p>If you are using <code>put.io</code> with <code>rclone mount</code> then use the <code>--read-only</code> flag to signal to the OS that it can’t write to the mount.</p>
|
||||||
<p>For more help see <a href="http://help.put.io/apps-and-integrations/ftp-and-webdav">the put.io webdav docs</a>.</p>
|
<p>For more help see <a href="http://help.put.io/apps-and-integrations/ftp-and-webdav">the put.io webdav docs</a>.</p>
|
||||||
<h3 id="sharepoint">Sharepoint</h3>
|
<h3 id="sharepoint">Sharepoint</h3>
|
||||||
<p>Rclone can be used with Sharepoint provided by OneDrive for Business or Office365 Education Accounts. This feature is only needed for a few of these Accounts, mostly Office365 Education ones. These accounts are sometimes not verified by the domain owner <a href="https://github.com/ncw/rclone/issues/1975">github#1975</a></p>
|
<p>Rclone can be used with Sharepoint provided by OneDrive for Business or Office365 Education Accounts. This feature is only needed for a few of these Accounts, mostly Office365 Education ones. These accounts are sometimes not verified by the domain owner <a href="https://github.com/rclone/rclone/issues/1975">github#1975</a></p>
|
||||||
<p>This means that these accounts can’t be added using the official API (other Accounts should work with the “onedrive” option). However, it is possible to access them using webdav.</p>
|
<p>This means that these accounts can’t be added using the official API (other Accounts should work with the “onedrive” option). However, it is possible to access them using webdav.</p>
|
||||||
<p>To use a sharepoint remote with rclone, add it like this: First, you need to get your remote’s URL:</p>
|
<p>To use a sharepoint remote with rclone, add it like this: First, you need to get your remote’s URL:</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -11373,7 +11373,7 @@ y/e/d> y</code></pre>
|
||||||
<h3 id="long-paths-on-windows">Long paths on Windows</h3>
|
<h3 id="long-paths-on-windows">Long paths on Windows</h3>
|
||||||
<p>Rclone handles long paths automatically, by converting all paths to long <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#maxpath">UNC paths</a> which allows paths up to 32,767 characters.</p>
|
<p>Rclone handles long paths automatically, by converting all paths to long <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#maxpath">UNC paths</a> which allows paths up to 32,767 characters.</p>
|
||||||
<p>This is why you will see that your paths, for instance <code>c:\files</code> is converted to the UNC path <code>\\?\c:\files</code> in the output, and <code>\\server\share</code> is converted to <code>\\?\UNC\server\share</code>.</p>
|
<p>This is why you will see that your paths, for instance <code>c:\files</code> is converted to the UNC path <code>\\?\c:\files</code> in the output, and <code>\\server\share</code> is converted to <code>\\?\UNC\server\share</code>.</p>
|
||||||
<p>However, in rare cases this may cause problems with buggy file system drivers like <a href="https://github.com/ncw/rclone/issues/261">EncFS</a>. To disable UNC conversion globally, add this to your <code>.rclone.conf</code> file:</p>
|
<p>However, in rare cases this may cause problems with buggy file system drivers like <a href="https://github.com/rclone/rclone/issues/261">EncFS</a>. To disable UNC conversion globally, add this to your <code>.rclone.conf</code> file:</p>
|
||||||
<pre><code>[local]
|
<pre><code>[local]
|
||||||
nounc = true</code></pre>
|
nounc = true</code></pre>
|
||||||
<p>If you want to selectively disable UNC, you can add it to a separate entry like this:</p>
|
<p>If you want to selectively disable UNC, you can add it to a separate entry like this:</p>
|
||||||
|
@ -11521,7 +11521,7 @@ $ tree /tmp/b
|
||||||
<h4 id="local-no-check-updated">–local-no-check-updated</h4>
|
<h4 id="local-no-check-updated">–local-no-check-updated</h4>
|
||||||
<p>Don’t check to see if the files change during upload</p>
|
<p>Don’t check to see if the files change during upload</p>
|
||||||
<p>Normally rclone checks the size and modification time of files as they are being uploaded and aborts with a message which starts “can’t copy - source file is being updated” if the file changes during upload.</p>
|
<p>Normally rclone checks the size and modification time of files as they are being uploaded and aborts with a message which starts “can’t copy - source file is being updated” if the file changes during upload.</p>
|
||||||
<p>However on some file systems this modification time check may fail (eg <a href="https://github.com/ncw/rclone/issues/2206">Glusterfs #2206</a>) so this check can be disabled with this flag.</p>
|
<p>However on some file systems this modification time check may fail (eg <a href="https://github.com/rclone/rclone/issues/2206">Glusterfs #2206</a>) so this check can be disabled with this flag.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Config: no_check_updated</li>
|
<li>Config: no_check_updated</li>
|
||||||
<li>Env Var: RCLONE_LOCAL_NO_CHECK_UPDATED</li>
|
<li>Env Var: RCLONE_LOCAL_NO_CHECK_UPDATED</li>
|
||||||
|
@ -14292,7 +14292,7 @@ $ tree /tmp/b
|
||||||
<p>With remotes that have a concept of directory, eg Local and Drive, empty directories may be left behind, or not created when one was expected.</p>
|
<p>With remotes that have a concept of directory, eg Local and Drive, empty directories may be left behind, or not created when one was expected.</p>
|
||||||
<p>This is because rclone doesn’t have a concept of a directory - it only works on objects. Most of the object storage systems can’t actually store a directory so there is nowhere for rclone to store anything about directories.</p>
|
<p>This is because rclone doesn’t have a concept of a directory - it only works on objects. Most of the object storage systems can’t actually store a directory so there is nowhere for rclone to store anything about directories.</p>
|
||||||
<p>You can work round this to some extent with the<code>purge</code> command which will delete everything under the path, <strong>inluding</strong> empty directories.</p>
|
<p>You can work round this to some extent with the<code>purge</code> command which will delete everything under the path, <strong>inluding</strong> empty directories.</p>
|
||||||
<p>This may be fixed at some point in <a href="https://github.com/ncw/rclone/issues/100">Issue #100</a></p>
|
<p>This may be fixed at some point in <a href="https://github.com/rclone/rclone/issues/100">Issue #100</a></p>
|
||||||
<h3 id="directory-timestamps-arent-preserved">Directory timestamps aren’t preserved</h3>
|
<h3 id="directory-timestamps-arent-preserved">Directory timestamps aren’t preserved</h3>
|
||||||
<p>For the same reason as the above, rclone doesn’t have a concept of a directory - it only works on objects, therefore it can’t preserve the timestamps of directories.</p>
|
<p>For the same reason as the above, rclone doesn’t have a concept of a directory - it only works on objects, therefore it can’t preserve the timestamps of directories.</p>
|
||||||
<h2 id="frequently-asked-questions">Frequently Asked Questions</h2>
|
<h2 id="frequently-asked-questions">Frequently Asked Questions</h2>
|
||||||
|
@ -14659,7 +14659,7 @@ THE SOFTWARE.</code></pre>
|
||||||
<h2 id="gitub-project">Gitub project</h2>
|
<h2 id="gitub-project">Gitub project</h2>
|
||||||
<p>The project website is at:</p>
|
<p>The project website is at:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>https://github.com/ncw/rclone</li>
|
<li>https://github.com/rclone/rclone</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>There you can file bug reports or contribute pull requests.</p>
|
<p>There you can file bug reports or contribute pull requests.</p>
|
||||||
<h2 id="twitter">Twitter</h2>
|
<h2 id="twitter">Twitter</h2>
|
||||||
|
|
96
MANUAL.md
96
MANUAL.md
|
@ -68,7 +68,7 @@ Features
|
||||||
Links
|
Links
|
||||||
|
|
||||||
* [Home page](https://rclone.org/)
|
* [Home page](https://rclone.org/)
|
||||||
* [GitHub project page for source and bug tracker](https://github.com/ncw/rclone)
|
* [GitHub project page for source and bug tracker](https://github.com/rclone/rclone)
|
||||||
* [Rclone Forum](https://forum.rclone.org)
|
* [Rclone Forum](https://forum.rclone.org)
|
||||||
* [Downloads](https://rclone.org/downloads/)
|
* [Downloads](https://rclone.org/downloads/)
|
||||||
|
|
||||||
|
@ -155,7 +155,7 @@ Make sure you have at least [Go](https://golang.org/) 1.7
|
||||||
installed. [Download go](https://golang.org/dl/) if necessary. The
|
installed. [Download go](https://golang.org/dl/) if necessary. The
|
||||||
latest release is recommended. Then
|
latest release is recommended. Then
|
||||||
|
|
||||||
git clone https://github.com/ncw/rclone.git
|
git clone https://github.com/rclone/rclone.git
|
||||||
cd rclone
|
cd rclone
|
||||||
go build
|
go build
|
||||||
./rclone version
|
./rclone version
|
||||||
|
@ -164,11 +164,11 @@ You can also build and install rclone in the
|
||||||
[GOPATH](https://github.com/golang/go/wiki/GOPATH) (which defaults to
|
[GOPATH](https://github.com/golang/go/wiki/GOPATH) (which defaults to
|
||||||
`~/go`) with:
|
`~/go`) with:
|
||||||
|
|
||||||
go get -u -v github.com/ncw/rclone
|
go get -u -v github.com/rclone/rclone
|
||||||
|
|
||||||
and this will build the binary in `$GOPATH/bin` (`~/go/bin/rclone` by
|
and this will build the binary in `$GOPATH/bin` (`~/go/bin/rclone` by
|
||||||
default) after downloading the source to
|
default) after downloading the source to
|
||||||
`$GOPATH/src/github.com/ncw/rclone` (`~/go/src/github.com/ncw/rclone`
|
`$GOPATH/src/github.com/rclone/rclone` (`~/go/src/github.com/rclone/rclone`
|
||||||
by default).
|
by default).
|
||||||
|
|
||||||
## Installation with Ansible ##
|
## Installation with Ansible ##
|
||||||
|
@ -2323,9 +2323,9 @@ too many callbacks to rclone from the kernel.
|
||||||
In theory 0s should be the correct value for filesystems which can
|
In theory 0s should be the correct value for filesystems which can
|
||||||
change outside the control of the kernel. However this causes quite a
|
change outside the control of the kernel. However this causes quite a
|
||||||
few problems such as
|
few problems such as
|
||||||
[rclone using too much memory](https://github.com/ncw/rclone/issues/2157),
|
[rclone using too much memory](https://github.com/rclone/rclone/issues/2157),
|
||||||
[rclone not serving files to samba](https://forum.rclone.org/t/rclone-1-39-vs-1-40-mount-issue/5112)
|
[rclone not serving files to samba](https://forum.rclone.org/t/rclone-1-39-vs-1-40-mount-issue/5112)
|
||||||
and [excessive time listing directories](https://github.com/ncw/rclone/issues/2095#issuecomment-371141147).
|
and [excessive time listing directories](https://github.com/rclone/rclone/issues/2095#issuecomment-371141147).
|
||||||
|
|
||||||
The kernel can cache the info about a file for the time given by
|
The kernel can cache the info about a file for the time given by
|
||||||
"--attr-timeout". You may see corruption if the remote file changes
|
"--attr-timeout". You may see corruption if the remote file changes
|
||||||
|
@ -4431,7 +4431,7 @@ If your names have spaces in you need to put them in `"`, eg
|
||||||
rclone copy "E:\folder name\folder name\folder name" remote:backup
|
rclone copy "E:\folder name\folder name\folder name" remote:backup
|
||||||
|
|
||||||
If you are using the root directory on its own then don't quote it
|
If you are using the root directory on its own then don't quote it
|
||||||
(see [#464](https://github.com/ncw/rclone/issues/464) for why), eg
|
(see [#464](https://github.com/rclone/rclone/issues/464) for why), eg
|
||||||
|
|
||||||
rclone copy E:\ remote:backup
|
rclone copy E:\ remote:backup
|
||||||
|
|
||||||
|
@ -4750,7 +4750,7 @@ after transfer.
|
||||||
|
|
||||||
This can be useful for transferring files to and from OneDrive which
|
This can be useful for transferring files to and from OneDrive which
|
||||||
occasionally misreports the size of image files (see
|
occasionally misreports the size of image files (see
|
||||||
[#399](https://github.com/ncw/rclone/issues/399) for more info).
|
[#399](https://github.com/rclone/rclone/issues/399) for more info).
|
||||||
|
|
||||||
### -I, --ignore-times ###
|
### -I, --ignore-times ###
|
||||||
|
|
||||||
|
@ -7239,14 +7239,14 @@ You can also use the `-text` flag to produce a textual summary
|
||||||
$ go tool pprof -text http://localhost:5572/debug/pprof/heap
|
$ go tool pprof -text http://localhost:5572/debug/pprof/heap
|
||||||
Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
flat flat% sum% cum cum%
|
flat flat% sum% cum cum%
|
||||||
1024.03kB 66.62% 66.62% 1024.03kB 66.62% github.com/ncw/rclone/vendor/golang.org/x/net/http2/hpack.addDecoderNode
|
1024.03kB 66.62% 66.62% 1024.03kB 66.62% github.com/rclone/rclone/vendor/golang.org/x/net/http2/hpack.addDecoderNode
|
||||||
513kB 33.38% 100% 513kB 33.38% net/http.newBufioWriterSize
|
513kB 33.38% 100% 513kB 33.38% net/http.newBufioWriterSize
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/cmd/all.init
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/cmd/all.init
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/cmd/serve.init
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/cmd/serve.init
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/cmd/serve/restic.init
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/cmd/serve/restic.init
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/vendor/golang.org/x/net/http2.init
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/vendor/golang.org/x/net/http2.init
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/vendor/golang.org/x/net/http2/hpack.init
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/vendor/golang.org/x/net/http2/hpack.init
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/vendor/golang.org/x/net/http2/hpack.init.0
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/vendor/golang.org/x/net/http2/hpack.init.0
|
||||||
0 0% 100% 1024.03kB 66.62% main.init
|
0 0% 100% 1024.03kB 66.62% main.init
|
||||||
0 0% 100% 513kB 33.38% net/http.(*conn).readRequest
|
0 0% 100% 513kB 33.38% net/http.(*conn).readRequest
|
||||||
0 0% 100% 513kB 33.38% net/http.(*conn).serve
|
0 0% 100% 513kB 33.38% net/http.(*conn).serve
|
||||||
|
@ -7407,26 +7407,26 @@ operations more efficient.
|
||||||
|
|
||||||
| Name | Purge | Copy | Move | DirMove | CleanUp | ListR | StreamUpload | LinkSharing | About |
|
| Name | Purge | Copy | Move | DirMove | CleanUp | ListR | StreamUpload | LinkSharing | About |
|
||||||
| ---------------------------- |:-----:|:----:|:----:|:-------:|:-------:|:-----:|:------------:|:------------:|:-----:|
|
| ---------------------------- |:-----:|:----:|:----:|:-------:|:-------:|:-----:|:------------:|:------------:|:-----:|
|
||||||
| Amazon Drive | Yes | No | Yes | Yes | No [#575](https://github.com/ncw/rclone/issues/575) | No | No | No [#2178](https://github.com/ncw/rclone/issues/2178) | No |
|
| Amazon Drive | Yes | No | Yes | Yes | No [#575](https://github.com/rclone/rclone/issues/575) | No | No | No [#2178](https://github.com/rclone/rclone/issues/2178) | No |
|
||||||
| Amazon S3 | No | Yes | No | No | No | Yes | Yes | No [#2178](https://github.com/ncw/rclone/issues/2178) | No |
|
| Amazon S3 | No | Yes | No | No | No | Yes | Yes | No [#2178](https://github.com/rclone/rclone/issues/2178) | No |
|
||||||
| Backblaze B2 | No | Yes | No | No | Yes | Yes | Yes | No [#2178](https://github.com/ncw/rclone/issues/2178) | No |
|
| Backblaze B2 | No | Yes | No | No | Yes | Yes | Yes | No [#2178](https://github.com/rclone/rclone/issues/2178) | No |
|
||||||
| Box | Yes | Yes | Yes | Yes | No [#575](https://github.com/ncw/rclone/issues/575) | No | Yes | Yes | No |
|
| Box | Yes | Yes | Yes | Yes | No [#575](https://github.com/rclone/rclone/issues/575) | No | Yes | Yes | No |
|
||||||
| Dropbox | Yes | Yes | Yes | Yes | No [#575](https://github.com/ncw/rclone/issues/575) | No | Yes | Yes | Yes |
|
| Dropbox | Yes | Yes | Yes | Yes | No [#575](https://github.com/rclone/rclone/issues/575) | No | Yes | Yes | Yes |
|
||||||
| FTP | No | No | Yes | Yes | No | No | Yes | No [#2178](https://github.com/ncw/rclone/issues/2178) | No |
|
| FTP | No | No | Yes | Yes | No | No | Yes | No [#2178](https://github.com/rclone/rclone/issues/2178) | No |
|
||||||
| Google Cloud Storage | Yes | Yes | No | No | No | Yes | Yes | No [#2178](https://github.com/ncw/rclone/issues/2178) | No |
|
| Google Cloud Storage | Yes | Yes | No | No | No | Yes | Yes | No [#2178](https://github.com/rclone/rclone/issues/2178) | No |
|
||||||
| Google Drive | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
| Google Drive | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
|
||||||
| HTTP | No | No | No | No | No | No | No | No [#2178](https://github.com/ncw/rclone/issues/2178) | No |
|
| HTTP | No | No | No | No | No | No | No | No [#2178](https://github.com/rclone/rclone/issues/2178) | No |
|
||||||
| Hubic | Yes † | Yes | No | No | No | Yes | Yes | No [#2178](https://github.com/ncw/rclone/issues/2178) | Yes |
|
| Hubic | Yes † | Yes | No | No | No | Yes | Yes | No [#2178](https://github.com/rclone/rclone/issues/2178) | Yes |
|
||||||
| Jottacloud | Yes | Yes | Yes | Yes | No | Yes | No | Yes | Yes |
|
| Jottacloud | Yes | Yes | Yes | Yes | No | Yes | No | Yes | Yes |
|
||||||
| Mega | Yes | No | Yes | Yes | Yes | No | No | No [#2178](https://github.com/ncw/rclone/issues/2178) | Yes |
|
| Mega | Yes | No | Yes | Yes | Yes | No | No | No [#2178](https://github.com/rclone/rclone/issues/2178) | Yes |
|
||||||
| Microsoft Azure Blob Storage | Yes | Yes | No | No | No | Yes | No | No [#2178](https://github.com/ncw/rclone/issues/2178) | No |
|
| Microsoft Azure Blob Storage | Yes | Yes | No | No | No | Yes | No | No [#2178](https://github.com/rclone/rclone/issues/2178) | No |
|
||||||
| Microsoft OneDrive | Yes | Yes | Yes | Yes | No [#575](https://github.com/ncw/rclone/issues/575) | No | No | Yes | Yes |
|
| Microsoft OneDrive | Yes | Yes | Yes | Yes | No [#575](https://github.com/rclone/rclone/issues/575) | No | No | Yes | Yes |
|
||||||
| OpenDrive | Yes | Yes | Yes | Yes | No | No | No | No | No |
|
| OpenDrive | Yes | Yes | Yes | Yes | No | No | No | No | No |
|
||||||
| Openstack Swift | Yes † | Yes | No | No | No | Yes | Yes | No [#2178](https://github.com/ncw/rclone/issues/2178) | Yes |
|
| Openstack Swift | Yes † | Yes | No | No | No | Yes | Yes | No [#2178](https://github.com/rclone/rclone/issues/2178) | Yes |
|
||||||
| pCloud | Yes | Yes | Yes | Yes | Yes | No | No | No [#2178](https://github.com/ncw/rclone/issues/2178) | Yes |
|
| pCloud | Yes | Yes | Yes | Yes | Yes | No | No | No [#2178](https://github.com/rclone/rclone/issues/2178) | Yes |
|
||||||
| QingStor | No | Yes | No | No | No | Yes | No | No [#2178](https://github.com/ncw/rclone/issues/2178) | No |
|
| QingStor | No | Yes | No | No | No | Yes | No | No [#2178](https://github.com/rclone/rclone/issues/2178) | No |
|
||||||
| SFTP | No | No | Yes | Yes | No | No | Yes | No [#2178](https://github.com/ncw/rclone/issues/2178) | Yes |
|
| SFTP | No | No | Yes | Yes | No | No | Yes | No [#2178](https://github.com/rclone/rclone/issues/2178) | Yes |
|
||||||
| WebDAV | Yes | Yes | Yes | Yes | No | No | Yes ‡ | No [#2178](https://github.com/ncw/rclone/issues/2178) | Yes |
|
| WebDAV | Yes | Yes | Yes | Yes | No | No | Yes ‡ | No [#2178](https://github.com/rclone/rclone/issues/2178) | Yes |
|
||||||
| Yandex Disk | Yes | Yes | Yes | Yes | Yes | No | Yes | Yes | Yes |
|
| Yandex Disk | Yes | Yes | Yes | Yes | Yes | No | Yes | Yes | Yes |
|
||||||
| The local filesystem | Yes | No | Yes | Yes | No | No | Yes | No | Yes |
|
| The local filesystem | Yes | No | Yes | Yes | No | No | Yes | No | Yes |
|
||||||
|
|
||||||
|
@ -8328,7 +8328,7 @@ If you are using server side encryption with KMS then you will find
|
||||||
you can't transfer small objects. As a work-around you can use the
|
you can't transfer small objects. As a work-around you can use the
|
||||||
`--ignore-checksum` flag.
|
`--ignore-checksum` flag.
|
||||||
|
|
||||||
A proper fix is being worked on in [issue #1824](https://github.com/ncw/rclone/issues/1824).
|
A proper fix is being worked on in [issue #1824](https://github.com/rclone/rclone/issues/1824).
|
||||||
|
|
||||||
### Glacier and Glacier Deep Archive ###
|
### Glacier and Glacier Deep Archive ###
|
||||||
|
|
||||||
|
@ -9805,7 +9805,7 @@ support SHA1.
|
||||||
|
|
||||||
Sources which don't support SHA1, in particular `crypt` will upload
|
Sources which don't support SHA1, in particular `crypt` will upload
|
||||||
large files without SHA1 checksums. This may be fixed in the future
|
large files without SHA1 checksums. This may be fixed in the future
|
||||||
(see [#1767](https://github.com/ncw/rclone/issues/1767)).
|
(see [#1767](https://github.com/rclone/rclone/issues/1767)).
|
||||||
|
|
||||||
Files sizes below `--b2-upload-cutoff` will always have an SHA1
|
Files sizes below `--b2-upload-cutoff` will always have an SHA1
|
||||||
regardless of the source.
|
regardless of the source.
|
||||||
|
@ -9838,7 +9838,7 @@ Old versions of files, where available, are visible using the
|
||||||
`--b2-versions` flag.
|
`--b2-versions` flag.
|
||||||
|
|
||||||
**NB** Note that `--b2-versions` does not work with crypt at the
|
**NB** Note that `--b2-versions` does not work with crypt at the
|
||||||
moment [#1627](https://github.com/ncw/rclone/issues/1627). Using
|
moment [#1627](https://github.com/rclone/rclone/issues/1627). Using
|
||||||
[--backup-dir](/docs/#backup-dir-dir) with rclone is the recommended
|
[--backup-dir](/docs/#backup-dir-dir) with rclone is the recommended
|
||||||
way of working around this.
|
way of working around this.
|
||||||
|
|
||||||
|
@ -9910,7 +9910,7 @@ All copy commands send the following 4 requests:
|
||||||
The `b2_list_file_names` request will be sent once for every 1k files
|
The `b2_list_file_names` request will be sent once for every 1k files
|
||||||
in the remote path, providing the checksum and modification time of
|
in the remote path, providing the checksum and modification time of
|
||||||
the listed files. As of version 1.33 issue
|
the listed files. As of version 1.33 issue
|
||||||
[#818](https://github.com/ncw/rclone/issues/818) causes extra requests
|
[#818](https://github.com/rclone/rclone/issues/818) causes extra requests
|
||||||
to be sent when using B2 with Crypt. When a copy operation does not
|
to be sent when using B2 with Crypt. When a copy operation does not
|
||||||
require any files to be uploaded, no more requests will be sent.
|
require any files to be uploaded, no more requests will be sent.
|
||||||
|
|
||||||
|
@ -10593,9 +10593,9 @@ on Linux flavors and Windows as cache is heavily dependant on them.
|
||||||
|
|
||||||
Any reports or feedback on how cache behaves on this OS is greatly appreciated.
|
Any reports or feedback on how cache behaves on this OS is greatly appreciated.
|
||||||
|
|
||||||
- https://github.com/ncw/rclone/issues/1935
|
- https://github.com/rclone/rclone/issues/1935
|
||||||
- https://github.com/ncw/rclone/issues/1907
|
- https://github.com/rclone/rclone/issues/1907
|
||||||
- https://github.com/ncw/rclone/issues/1834
|
- https://github.com/rclone/rclone/issues/1834
|
||||||
|
|
||||||
#### Risk of throttling ####
|
#### Risk of throttling ####
|
||||||
|
|
||||||
|
@ -10614,8 +10614,8 @@ of adding the file in the cache at the same time if configured to do so.
|
||||||
|
|
||||||
Future enhancements:
|
Future enhancements:
|
||||||
|
|
||||||
- https://github.com/ncw/rclone/issues/1937
|
- https://github.com/rclone/rclone/issues/1937
|
||||||
- https://github.com/ncw/rclone/issues/1936
|
- https://github.com/rclone/rclone/issues/1936
|
||||||
|
|
||||||
#### cache and crypt ####
|
#### cache and crypt ####
|
||||||
|
|
||||||
|
@ -13041,7 +13041,7 @@ export URLs for drive documents. Users have reported that the
|
||||||
official export URLs can't export large documents, whereas these
|
official export URLs can't export large documents, whereas these
|
||||||
unofficial ones can.
|
unofficial ones can.
|
||||||
|
|
||||||
See rclone issue [#2243](https://github.com/ncw/rclone/issues/2243) for background,
|
See rclone issue [#2243](https://github.com/rclone/rclone/issues/2243) for background,
|
||||||
[this google drive issue](https://issuetracker.google.com/issues/36761333) and
|
[this google drive issue](https://issuetracker.google.com/issues/36761333) and
|
||||||
[this helpful post](https://www.labnol.org/internet/direct-links-for-google-drive/28356/).
|
[this helpful post](https://www.labnol.org/internet/direct-links-for-google-drive/28356/).
|
||||||
|
|
||||||
|
@ -14734,7 +14734,7 @@ The entire path, including the file name, must contain fewer than 400 characters
|
||||||
OneDrive seems to be OK with at least 50,000 files in a folder, but at
|
OneDrive seems to be OK with at least 50,000 files in a folder, but at
|
||||||
100,000 rclone will get errors listing the directory like `couldn’t
|
100,000 rclone will get errors listing the directory like `couldn’t
|
||||||
list files: UnknownError:`. See
|
list files: UnknownError:`. See
|
||||||
[#2707](https://github.com/ncw/rclone/issues/2707) for more info.
|
[#2707](https://github.com/rclone/rclone/issues/2707) for more info.
|
||||||
|
|
||||||
An official document about the limitations for different types of OneDrive can be found [here](https://support.office.com/en-us/article/invalid-file-names-and-file-types-in-onedrive-onedrive-for-business-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa).
|
An official document about the limitations for different types of OneDrive can be found [here](https://support.office.com/en-us/article/invalid-file-names-and-file-types-in-onedrive-onedrive-for-business-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa).
|
||||||
|
|
||||||
|
@ -16604,7 +16604,7 @@ Rclone can be used with Sharepoint provided by OneDrive for Business
|
||||||
or Office365 Education Accounts.
|
or Office365 Education Accounts.
|
||||||
This feature is only needed for a few of these Accounts,
|
This feature is only needed for a few of these Accounts,
|
||||||
mostly Office365 Education ones. These accounts are sometimes not
|
mostly Office365 Education ones. These accounts are sometimes not
|
||||||
verified by the domain owner [github#1975](https://github.com/ncw/rclone/issues/1975)
|
verified by the domain owner [github#1975](https://github.com/rclone/rclone/issues/1975)
|
||||||
|
|
||||||
This means that these accounts can't be added using the official
|
This means that these accounts can't be added using the official
|
||||||
API (other Accounts should work with the "onedrive" option). However,
|
API (other Accounts should work with the "onedrive" option). However,
|
||||||
|
@ -16887,7 +16887,7 @@ converted to the UNC path `\\?\c:\files` in the output,
|
||||||
and `\\server\share` is converted to `\\?\UNC\server\share`.
|
and `\\server\share` is converted to `\\?\UNC\server\share`.
|
||||||
|
|
||||||
However, in rare cases this may cause problems with buggy file
|
However, in rare cases this may cause problems with buggy file
|
||||||
system drivers like [EncFS](https://github.com/ncw/rclone/issues/261).
|
system drivers like [EncFS](https://github.com/rclone/rclone/issues/261).
|
||||||
To disable UNC conversion globally, add this to your `.rclone.conf` file:
|
To disable UNC conversion globally, add this to your `.rclone.conf` file:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -17136,7 +17136,7 @@ are being uploaded and aborts with a message which starts "can't copy
|
||||||
- source file is being updated" if the file changes during upload.
|
- source file is being updated" if the file changes during upload.
|
||||||
|
|
||||||
However on some file systems this modification time check may fail (eg
|
However on some file systems this modification time check may fail (eg
|
||||||
[Glusterfs #2206](https://github.com/ncw/rclone/issues/2206)) so this
|
[Glusterfs #2206](https://github.com/rclone/rclone/issues/2206)) so this
|
||||||
check can be disabled with this flag.
|
check can be disabled with this flag.
|
||||||
|
|
||||||
- Config: no_check_updated
|
- Config: no_check_updated
|
||||||
|
@ -19036,7 +19036,7 @@ You can work round this to some extent with the`purge` command which
|
||||||
will delete everything under the path, **inluding** empty directories.
|
will delete everything under the path, **inluding** empty directories.
|
||||||
|
|
||||||
This may be fixed at some point in
|
This may be fixed at some point in
|
||||||
[Issue #100](https://github.com/ncw/rclone/issues/100)
|
[Issue #100](https://github.com/rclone/rclone/issues/100)
|
||||||
|
|
||||||
### Directory timestamps aren't preserved ##
|
### Directory timestamps aren't preserved ##
|
||||||
|
|
||||||
|
@ -19553,7 +19553,7 @@ Forum for questions and general discussion:
|
||||||
|
|
||||||
The project website is at:
|
The project website is at:
|
||||||
|
|
||||||
* https://github.com/ncw/rclone
|
* https://github.com/rclone/rclone
|
||||||
|
|
||||||
There you can file bug reports or contribute pull requests.
|
There you can file bug reports or contribute pull requests.
|
||||||
|
|
||||||
|
|
32
MANUAL.txt
32
MANUAL.txt
|
@ -166,7 +166,7 @@ Install from source
|
||||||
Make sure you have at least Go 1.7 installed. Download go if necessary.
|
Make sure you have at least Go 1.7 installed. Download go if necessary.
|
||||||
The latest release is recommended. Then
|
The latest release is recommended. Then
|
||||||
|
|
||||||
git clone https://github.com/ncw/rclone.git
|
git clone https://github.com/rclone/rclone.git
|
||||||
cd rclone
|
cd rclone
|
||||||
go build
|
go build
|
||||||
./rclone version
|
./rclone version
|
||||||
|
@ -174,11 +174,11 @@ The latest release is recommended. Then
|
||||||
You can also build and install rclone in the GOPATH (which defaults to
|
You can also build and install rclone in the GOPATH (which defaults to
|
||||||
~/go) with:
|
~/go) with:
|
||||||
|
|
||||||
go get -u -v github.com/ncw/rclone
|
go get -u -v github.com/rclone/rclone
|
||||||
|
|
||||||
and this will build the binary in $GOPATH/bin (~/go/bin/rclone by
|
and this will build the binary in $GOPATH/bin (~/go/bin/rclone by
|
||||||
default) after downloading the source to
|
default) after downloading the source to
|
||||||
$GOPATH/src/github.com/ncw/rclone (~/go/src/github.com/ncw/rclone by
|
$GOPATH/src/github.com/rclone/rclone (~/go/src/github.com/rclone/rclone by
|
||||||
default).
|
default).
|
||||||
|
|
||||||
|
|
||||||
|
@ -6859,14 +6859,14 @@ You can also use the -text flag to produce a textual summary
|
||||||
$ go tool pprof -text http://localhost:5572/debug/pprof/heap
|
$ go tool pprof -text http://localhost:5572/debug/pprof/heap
|
||||||
Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
|
||||||
flat flat% sum% cum cum%
|
flat flat% sum% cum cum%
|
||||||
1024.03kB 66.62% 66.62% 1024.03kB 66.62% github.com/ncw/rclone/vendor/golang.org/x/net/http2/hpack.addDecoderNode
|
1024.03kB 66.62% 66.62% 1024.03kB 66.62% github.com/rclone/rclone/vendor/golang.org/x/net/http2/hpack.addDecoderNode
|
||||||
513kB 33.38% 100% 513kB 33.38% net/http.newBufioWriterSize
|
513kB 33.38% 100% 513kB 33.38% net/http.newBufioWriterSize
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/cmd/all.init
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/cmd/all.init
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/cmd/serve.init
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/cmd/serve.init
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/cmd/serve/restic.init
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/cmd/serve/restic.init
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/vendor/golang.org/x/net/http2.init
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/vendor/golang.org/x/net/http2.init
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/vendor/golang.org/x/net/http2/hpack.init
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/vendor/golang.org/x/net/http2/hpack.init
|
||||||
0 0% 100% 1024.03kB 66.62% github.com/ncw/rclone/vendor/golang.org/x/net/http2/hpack.init.0
|
0 0% 100% 1024.03kB 66.62% github.com/rclone/rclone/vendor/golang.org/x/net/http2/hpack.init.0
|
||||||
0 0% 100% 1024.03kB 66.62% main.init
|
0 0% 100% 1024.03kB 66.62% main.init
|
||||||
0 0% 100% 513kB 33.38% net/http.(*conn).readRequest
|
0 0% 100% 513kB 33.38% net/http.(*conn).readRequest
|
||||||
0 0% 100% 513kB 33.38% net/http.(*conn).serve
|
0 0% 100% 513kB 33.38% net/http.(*conn).serve
|
||||||
|
@ -10186,9 +10186,9 @@ on them.
|
||||||
Any reports or feedback on how cache behaves on this OS is greatly
|
Any reports or feedback on how cache behaves on this OS is greatly
|
||||||
appreciated.
|
appreciated.
|
||||||
|
|
||||||
- https://github.com/ncw/rclone/issues/1935
|
- https://github.com/rclone/rclone/issues/1935
|
||||||
- https://github.com/ncw/rclone/issues/1907
|
- https://github.com/rclone/rclone/issues/1907
|
||||||
- https://github.com/ncw/rclone/issues/1834
|
- https://github.com/rclone/rclone/issues/1834
|
||||||
|
|
||||||
Risk of throttling
|
Risk of throttling
|
||||||
|
|
||||||
|
@ -10208,8 +10208,8 @@ the file in the cache at the same time if configured to do so.
|
||||||
|
|
||||||
Future enhancements:
|
Future enhancements:
|
||||||
|
|
||||||
- https://github.com/ncw/rclone/issues/1937
|
- https://github.com/rclone/rclone/issues/1937
|
||||||
- https://github.com/ncw/rclone/issues/1936
|
- https://github.com/rclone/rclone/issues/1936
|
||||||
|
|
||||||
cache and crypt
|
cache and crypt
|
||||||
|
|
||||||
|
@ -19523,7 +19523,7 @@ Gitub project
|
||||||
|
|
||||||
The project website is at:
|
The project website is at:
|
||||||
|
|
||||||
- https://github.com/ncw/rclone
|
- https://github.com/rclone/rclone
|
||||||
|
|
||||||
There you can file bug reports or contribute pull requests.
|
There you can file bug reports or contribute pull requests.
|
||||||
|
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -31,7 +31,7 @@ endif
|
||||||
|
|
||||||
rclone:
|
rclone:
|
||||||
touch fs/version.go
|
touch fs/version.go
|
||||||
go install -v --ldflags "-s -X github.com/ncw/rclone/fs.Version=$(TAG)" $(BUILDTAGS)
|
go install -v --ldflags "-s -X github.com/rclone/rclone/fs.Version=$(TAG)" $(BUILDTAGS)
|
||||||
cp -av `go env GOPATH`/bin/rclone .
|
cp -av `go env GOPATH`/bin/rclone .
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
|
@ -48,7 +48,7 @@ version:
|
||||||
|
|
||||||
# Full suite of integration tests
|
# Full suite of integration tests
|
||||||
test: rclone
|
test: rclone
|
||||||
go install --ldflags "-s -X github.com/ncw/rclone/fs.Version=$(TAG)" $(BUILDTAGS) github.com/ncw/rclone/fstest/test_all
|
go install --ldflags "-s -X github.com/rclone/rclone/fs.Version=$(TAG)" $(BUILDTAGS) github.com/rclone/rclone/fstest/test_all
|
||||||
-test_all 2>&1 | tee test_all.log
|
-test_all 2>&1 | tee test_all.log
|
||||||
@echo "Written logs in test_all.log"
|
@echo "Written logs in test_all.log"
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
[![Build Status](https://travis-ci.org/ncw/rclone.svg?branch=master)](https://travis-ci.org/ncw/rclone)
|
[![Build Status](https://travis-ci.org/ncw/rclone.svg?branch=master)](https://travis-ci.org/ncw/rclone)
|
||||||
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/ncw/rclone?branch=master&passingText=windows%20-%20ok&svg=true)](https://ci.appveyor.com/project/ncw/rclone)
|
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/ncw/rclone?branch=master&passingText=windows%20-%20ok&svg=true)](https://ci.appveyor.com/project/ncw/rclone)
|
||||||
[![CircleCI](https://circleci.com/gh/ncw/rclone/tree/master.svg?style=svg)](https://circleci.com/gh/ncw/rclone/tree/master)
|
[![CircleCI](https://circleci.com/gh/ncw/rclone/tree/master.svg?style=svg)](https://circleci.com/gh/ncw/rclone/tree/master)
|
||||||
[![Go Report Card](https://goreportcard.com/badge/github.com/ncw/rclone)](https://goreportcard.com/report/github.com/ncw/rclone)
|
[![Go Report Card](https://goreportcard.com/badge/github.com/rclone/rclone)](https://goreportcard.com/report/github.com/rclone/rclone)
|
||||||
[![GoDoc](https://godoc.org/github.com/ncw/rclone?status.svg)](https://godoc.org/github.com/ncw/rclone)
|
[![GoDoc](https://godoc.org/github.com/rclone/rclone?status.svg)](https://godoc.org/github.com/rclone/rclone)
|
||||||
|
|
||||||
# Rclone
|
# Rclone
|
||||||
|
|
||||||
|
|
|
@ -4,10 +4,10 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
"github.com/ncw/rclone/fs/fspath"
|
"github.com/rclone/rclone/fs/fspath"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Register with Fs
|
// Register with Fs
|
||||||
|
|
|
@ -8,9 +8,9 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
_ "github.com/ncw/rclone/backend/local" // pull in test backend
|
_ "github.com/rclone/rclone/backend/local" // pull in test backend
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/ncw/rclone/fs/config"
|
"github.com/rclone/rclone/fs/config"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -2,33 +2,33 @@ package all
|
||||||
|
|
||||||
import (
|
import (
|
||||||
// Active file systems
|
// Active file systems
|
||||||
_ "github.com/ncw/rclone/backend/alias"
|
_ "github.com/rclone/rclone/backend/alias"
|
||||||
_ "github.com/ncw/rclone/backend/amazonclouddrive"
|
_ "github.com/rclone/rclone/backend/amazonclouddrive"
|
||||||
_ "github.com/ncw/rclone/backend/azureblob"
|
_ "github.com/rclone/rclone/backend/azureblob"
|
||||||
_ "github.com/ncw/rclone/backend/b2"
|
_ "github.com/rclone/rclone/backend/b2"
|
||||||
_ "github.com/ncw/rclone/backend/box"
|
_ "github.com/rclone/rclone/backend/box"
|
||||||
_ "github.com/ncw/rclone/backend/cache"
|
_ "github.com/rclone/rclone/backend/cache"
|
||||||
_ "github.com/ncw/rclone/backend/crypt"
|
_ "github.com/rclone/rclone/backend/crypt"
|
||||||
_ "github.com/ncw/rclone/backend/drive"
|
_ "github.com/rclone/rclone/backend/drive"
|
||||||
_ "github.com/ncw/rclone/backend/dropbox"
|
_ "github.com/rclone/rclone/backend/dropbox"
|
||||||
_ "github.com/ncw/rclone/backend/fichier"
|
_ "github.com/rclone/rclone/backend/fichier"
|
||||||
_ "github.com/ncw/rclone/backend/ftp"
|
_ "github.com/rclone/rclone/backend/ftp"
|
||||||
_ "github.com/ncw/rclone/backend/googlecloudstorage"
|
_ "github.com/rclone/rclone/backend/googlecloudstorage"
|
||||||
_ "github.com/ncw/rclone/backend/googlephotos"
|
_ "github.com/rclone/rclone/backend/googlephotos"
|
||||||
_ "github.com/ncw/rclone/backend/http"
|
_ "github.com/rclone/rclone/backend/http"
|
||||||
_ "github.com/ncw/rclone/backend/hubic"
|
_ "github.com/rclone/rclone/backend/hubic"
|
||||||
_ "github.com/ncw/rclone/backend/jottacloud"
|
_ "github.com/rclone/rclone/backend/jottacloud"
|
||||||
_ "github.com/ncw/rclone/backend/koofr"
|
_ "github.com/rclone/rclone/backend/koofr"
|
||||||
_ "github.com/ncw/rclone/backend/local"
|
_ "github.com/rclone/rclone/backend/local"
|
||||||
_ "github.com/ncw/rclone/backend/mega"
|
_ "github.com/rclone/rclone/backend/mega"
|
||||||
_ "github.com/ncw/rclone/backend/onedrive"
|
_ "github.com/rclone/rclone/backend/onedrive"
|
||||||
_ "github.com/ncw/rclone/backend/opendrive"
|
_ "github.com/rclone/rclone/backend/opendrive"
|
||||||
_ "github.com/ncw/rclone/backend/pcloud"
|
_ "github.com/rclone/rclone/backend/pcloud"
|
||||||
_ "github.com/ncw/rclone/backend/qingstor"
|
_ "github.com/rclone/rclone/backend/qingstor"
|
||||||
_ "github.com/ncw/rclone/backend/s3"
|
_ "github.com/rclone/rclone/backend/s3"
|
||||||
_ "github.com/ncw/rclone/backend/sftp"
|
_ "github.com/rclone/rclone/backend/sftp"
|
||||||
_ "github.com/ncw/rclone/backend/swift"
|
_ "github.com/rclone/rclone/backend/swift"
|
||||||
_ "github.com/ncw/rclone/backend/union"
|
_ "github.com/rclone/rclone/backend/union"
|
||||||
_ "github.com/ncw/rclone/backend/webdav"
|
_ "github.com/rclone/rclone/backend/webdav"
|
||||||
_ "github.com/ncw/rclone/backend/yandex"
|
_ "github.com/rclone/rclone/backend/yandex"
|
||||||
)
|
)
|
||||||
|
|
|
@ -23,17 +23,17 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
acd "github.com/ncw/go-acd"
|
acd "github.com/ncw/go-acd"
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/rclone/fs/fshttp"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/lib/dircache"
|
|
||||||
"github.com/ncw/rclone/lib/oauthutil"
|
|
||||||
"github.com/ncw/rclone/lib/pacer"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
|
"github.com/rclone/rclone/fs/fshttp"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/lib/dircache"
|
||||||
|
"github.com/rclone/rclone/lib/oauthutil"
|
||||||
|
"github.com/rclone/rclone/lib/pacer"
|
||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -332,7 +332,7 @@ func NewFs(name, root string, m configmap.Mapper) (fs.Fs, error) {
|
||||||
}
|
}
|
||||||
// XXX: update the old f here instead of returning tempF, since
|
// XXX: update the old f here instead of returning tempF, since
|
||||||
// `features` were already filled with functions having *f as a receiver.
|
// `features` were already filled with functions having *f as a receiver.
|
||||||
// See https://github.com/ncw/rclone/issues/2182
|
// See https://github.com/rclone/rclone/issues/2182
|
||||||
f.dirCache = tempF.dirCache
|
f.dirCache = tempF.dirCache
|
||||||
f.root = tempF.root
|
f.root = tempF.root
|
||||||
// return an error with an fs which points to the parent
|
// return an error with an fs which points to the parent
|
||||||
|
|
|
@ -7,9 +7,9 @@ package amazonclouddrive_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/amazonclouddrive"
|
"github.com/rclone/rclone/backend/amazonclouddrive"
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -24,16 +24,16 @@ import (
|
||||||
|
|
||||||
"github.com/Azure/azure-pipeline-go/pipeline"
|
"github.com/Azure/azure-pipeline-go/pipeline"
|
||||||
"github.com/Azure/azure-storage-blob-go/azblob"
|
"github.com/Azure/azure-storage-blob-go/azblob"
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/accounting"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/rclone/fs/fshttp"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/fs/walk"
|
|
||||||
"github.com/ncw/rclone/lib/pacer"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/accounting"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
|
"github.com/rclone/rclone/fs/fshttp"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/fs/walk"
|
||||||
|
"github.com/rclone/rclone/lib/pacer"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -1427,7 +1427,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op
|
||||||
// FIXME Until https://github.com/Azure/azure-storage-blob-go/pull/75
|
// FIXME Until https://github.com/Azure/azure-storage-blob-go/pull/75
|
||||||
// is merged the SDK can't upload a single blob of exactly the chunk
|
// is merged the SDK can't upload a single blob of exactly the chunk
|
||||||
// size, so upload with a multpart upload to work around.
|
// size, so upload with a multpart upload to work around.
|
||||||
// See: https://github.com/ncw/rclone/issues/2653
|
// See: https://github.com/rclone/rclone/issues/2653
|
||||||
multipartUpload := size >= int64(o.fs.opt.UploadCutoff)
|
multipartUpload := size >= int64(o.fs.opt.UploadCutoff)
|
||||||
if size == int64(o.fs.opt.ChunkSize) {
|
if size == int64(o.fs.opt.ChunkSize) {
|
||||||
multipartUpload = true
|
multipartUpload = true
|
||||||
|
|
|
@ -7,8 +7,8 @@ package azureblob
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Error describes a B2 error response
|
// Error describes a B2 error response
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/b2/api"
|
"github.com/rclone/rclone/backend/b2/api"
|
||||||
"github.com/ncw/rclone/fstest"
|
"github.com/rclone/rclone/fstest"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
|
@ -20,18 +20,18 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/b2/api"
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/accounting"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/rclone/fs/fshttp"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/fs/walk"
|
|
||||||
"github.com/ncw/rclone/lib/pacer"
|
|
||||||
"github.com/ncw/rclone/lib/rest"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/backend/b2/api"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/accounting"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
|
"github.com/rclone/rclone/fs/fshttp"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/fs/walk"
|
||||||
|
"github.com/rclone/rclone/lib/pacer"
|
||||||
|
"github.com/rclone/rclone/lib/rest"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fstest"
|
"github.com/rclone/rclone/fstest"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Test b2 string encoding
|
// Test b2 string encoding
|
||||||
|
|
|
@ -4,8 +4,8 @@ package b2
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -15,12 +15,12 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/b2/api"
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/accounting"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/lib/rest"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/backend/b2/api"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/accounting"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/lib/rest"
|
||||||
)
|
)
|
||||||
|
|
||||||
type hashAppendingReader struct {
|
type hashAppendingReader struct {
|
||||||
|
|
|
@ -21,19 +21,19 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/box/api"
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/config/obscure"
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/lib/dircache"
|
|
||||||
"github.com/ncw/rclone/lib/oauthutil"
|
|
||||||
"github.com/ncw/rclone/lib/pacer"
|
|
||||||
"github.com/ncw/rclone/lib/rest"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/backend/box/api"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/config/obscure"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/lib/dircache"
|
||||||
|
"github.com/rclone/rclone/lib/oauthutil"
|
||||||
|
"github.com/rclone/rclone/lib/pacer"
|
||||||
|
"github.com/rclone/rclone/lib/rest"
|
||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -305,7 +305,7 @@ func NewFs(name, root string, m configmap.Mapper) (fs.Fs, error) {
|
||||||
f.features.Fill(&tempF)
|
f.features.Fill(&tempF)
|
||||||
// XXX: update the old f here instead of returning tempF, since
|
// XXX: update the old f here instead of returning tempF, since
|
||||||
// `features` were already filled with functions having *f as a receiver.
|
// `features` were already filled with functions having *f as a receiver.
|
||||||
// See https://github.com/ncw/rclone/issues/2182
|
// See https://github.com/rclone/rclone/issues/2182
|
||||||
f.dirCache = tempF.dirCache
|
f.dirCache = tempF.dirCache
|
||||||
f.root = tempF.root
|
f.root = tempF.root
|
||||||
// return an error with an fs which points to the parent
|
// return an error with an fs which points to the parent
|
||||||
|
|
|
@ -4,8 +4,8 @@ package box_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/box"
|
"github.com/rclone/rclone/backend/box"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -14,11 +14,11 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/box/api"
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/accounting"
|
|
||||||
"github.com/ncw/rclone/lib/rest"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/backend/box/api"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/accounting"
|
||||||
|
"github.com/rclone/rclone/lib/rest"
|
||||||
)
|
)
|
||||||
|
|
||||||
// createUploadSession creates an upload session for the object
|
// createUploadSession creates an upload session for the object
|
||||||
|
@ -97,7 +97,7 @@ func (o *Object) commitUpload(SessionID string, parts []api.Part, modTime time.T
|
||||||
var body []byte
|
var body []byte
|
||||||
var resp *http.Response
|
var resp *http.Response
|
||||||
// For discussion of this value see:
|
// For discussion of this value see:
|
||||||
// https://github.com/ncw/rclone/issues/2054
|
// https://github.com/rclone/rclone/issues/2054
|
||||||
maxTries := o.fs.opt.CommitRetries
|
maxTries := o.fs.opt.CommitRetries
|
||||||
const defaultDelay = 10
|
const defaultDelay = 10
|
||||||
var tries int
|
var tries int
|
||||||
|
|
24
backend/cache/cache.go
vendored
24
backend/cache/cache.go
vendored
|
@ -18,19 +18,19 @@ import (
|
||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/crypt"
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/cache"
|
|
||||||
"github.com/ncw/rclone/fs/config"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/config/obscure"
|
|
||||||
"github.com/ncw/rclone/fs/fspath"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/fs/rc"
|
|
||||||
"github.com/ncw/rclone/fs/walk"
|
|
||||||
"github.com/ncw/rclone/lib/atexit"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/backend/crypt"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/cache"
|
||||||
|
"github.com/rclone/rclone/fs/config"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/config/obscure"
|
||||||
|
"github.com/rclone/rclone/fs/fspath"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/fs/rc"
|
||||||
|
"github.com/rclone/rclone/fs/walk"
|
||||||
|
"github.com/rclone/rclone/lib/atexit"
|
||||||
"golang.org/x/time/rate"
|
"golang.org/x/time/rate"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
24
backend/cache/cache_internal_test.go
vendored
24
backend/cache/cache_internal_test.go
vendored
|
@ -22,19 +22,19 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/cache"
|
|
||||||
"github.com/ncw/rclone/backend/crypt"
|
|
||||||
_ "github.com/ncw/rclone/backend/drive"
|
|
||||||
"github.com/ncw/rclone/backend/local"
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/object"
|
|
||||||
"github.com/ncw/rclone/fs/rc"
|
|
||||||
"github.com/ncw/rclone/fstest"
|
|
||||||
"github.com/ncw/rclone/vfs"
|
|
||||||
"github.com/ncw/rclone/vfs/vfsflags"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/backend/cache"
|
||||||
|
"github.com/rclone/rclone/backend/crypt"
|
||||||
|
_ "github.com/rclone/rclone/backend/drive"
|
||||||
|
"github.com/rclone/rclone/backend/local"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/object"
|
||||||
|
"github.com/rclone/rclone/fs/rc"
|
||||||
|
"github.com/rclone/rclone/fstest"
|
||||||
|
"github.com/rclone/rclone/vfs"
|
||||||
|
"github.com/rclone/rclone/vfs/vfsflags"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
6
backend/cache/cache_mount_unix_test.go
vendored
6
backend/cache/cache_mount_unix_test.go
vendored
|
@ -9,9 +9,9 @@ import (
|
||||||
|
|
||||||
"bazil.org/fuse"
|
"bazil.org/fuse"
|
||||||
fusefs "bazil.org/fuse/fs"
|
fusefs "bazil.org/fuse/fs"
|
||||||
"github.com/ncw/rclone/cmd/mount"
|
"github.com/rclone/rclone/cmd/mount"
|
||||||
"github.com/ncw/rclone/cmd/mountlib"
|
"github.com/rclone/rclone/cmd/mountlib"
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
6
backend/cache/cache_mount_windows_test.go
vendored
6
backend/cache/cache_mount_windows_test.go
vendored
|
@ -9,10 +9,10 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/billziss-gh/cgofuse/fuse"
|
"github.com/billziss-gh/cgofuse/fuse"
|
||||||
"github.com/ncw/rclone/cmd/cmount"
|
|
||||||
"github.com/ncw/rclone/cmd/mountlib"
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/cmd/cmount"
|
||||||
|
"github.com/rclone/rclone/cmd/mountlib"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
6
backend/cache/cache_test.go
vendored
6
backend/cache/cache_test.go
vendored
|
@ -7,9 +7,9 @@ package cache_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/cache"
|
"github.com/rclone/rclone/backend/cache"
|
||||||
_ "github.com/ncw/rclone/backend/local"
|
_ "github.com/rclone/rclone/backend/local"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
6
backend/cache/cache_upload_test.go
vendored
6
backend/cache/cache_upload_test.go
vendored
|
@ -12,9 +12,9 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/cache"
|
"github.com/rclone/rclone/backend/cache"
|
||||||
_ "github.com/ncw/rclone/backend/drive"
|
_ "github.com/rclone/rclone/backend/drive"
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
2
backend/cache/directory.go
vendored
2
backend/cache/directory.go
vendored
|
@ -7,7 +7,7 @@ import (
|
||||||
"path"
|
"path"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Directory is a generic dir that stores basic information about it
|
// Directory is a generic dir that stores basic information about it
|
||||||
|
|
4
backend/cache/handle.go
vendored
4
backend/cache/handle.go
vendored
|
@ -12,9 +12,9 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/operations"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/operations"
|
||||||
)
|
)
|
||||||
|
|
||||||
var uploaderMap = make(map[string]*backgroundWriter)
|
var uploaderMap = make(map[string]*backgroundWriter)
|
||||||
|
|
6
backend/cache/object.go
vendored
6
backend/cache/object.go
vendored
|
@ -9,10 +9,10 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/lib/readers"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/lib/readers"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
2
backend/cache/plex.go
vendored
2
backend/cache/plex.go
vendored
|
@ -14,8 +14,8 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
cache "github.com/patrickmn/go-cache"
|
cache "github.com/patrickmn/go-cache"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
"golang.org/x/net/websocket"
|
"golang.org/x/net/websocket"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
2
backend/cache/storage_memory.go
vendored
2
backend/cache/storage_memory.go
vendored
|
@ -7,9 +7,9 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
cache "github.com/patrickmn/go-cache"
|
cache "github.com/patrickmn/go-cache"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Memory is a wrapper of transient storage for a go-cache store
|
// Memory is a wrapper of transient storage for a go-cache store
|
||||||
|
|
4
backend/cache/storage_persistent.go
vendored
4
backend/cache/storage_persistent.go
vendored
|
@ -17,9 +17,9 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
bolt "github.com/coreos/bbolt"
|
bolt "github.com/coreos/bbolt"
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/walk"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/walk"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Constants
|
// Constants
|
||||||
|
|
|
@ -14,10 +14,10 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/crypt/pkcs7"
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/accounting"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/backend/crypt/pkcs7"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/accounting"
|
||||||
"github.com/rfjakob/eme"
|
"github.com/rfjakob/eme"
|
||||||
"golang.org/x/crypto/nacl/secretbox"
|
"golang.org/x/crypto/nacl/secretbox"
|
||||||
"golang.org/x/crypto/scrypt"
|
"golang.org/x/crypto/scrypt"
|
||||||
|
|
|
@ -10,8 +10,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/crypt/pkcs7"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/backend/crypt/pkcs7"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
|
@ -8,14 +8,14 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/accounting"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/config/obscure"
|
|
||||||
"github.com/ncw/rclone/fs/fspath"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/accounting"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/config/obscure"
|
||||||
|
"github.com/rclone/rclone/fs/fspath"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Globals
|
// Globals
|
||||||
|
|
|
@ -6,13 +6,13 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/crypt"
|
"github.com/rclone/rclone/backend/crypt"
|
||||||
_ "github.com/ncw/rclone/backend/drive" // for integration tests
|
_ "github.com/rclone/rclone/backend/drive" // for integration tests
|
||||||
_ "github.com/ncw/rclone/backend/local"
|
_ "github.com/rclone/rclone/backend/local"
|
||||||
_ "github.com/ncw/rclone/backend/swift" // for integration tests
|
_ "github.com/rclone/rclone/backend/swift" // for integration tests
|
||||||
"github.com/ncw/rclone/fs/config/obscure"
|
"github.com/rclone/rclone/fs/config/obscure"
|
||||||
"github.com/ncw/rclone/fstest"
|
"github.com/rclone/rclone/fstest"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -26,20 +26,20 @@ import (
|
||||||
"text/template"
|
"text/template"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/config/obscure"
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/rclone/fs/fshttp"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/fs/walk"
|
|
||||||
"github.com/ncw/rclone/lib/dircache"
|
|
||||||
"github.com/ncw/rclone/lib/oauthutil"
|
|
||||||
"github.com/ncw/rclone/lib/pacer"
|
|
||||||
"github.com/ncw/rclone/lib/readers"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/config/obscure"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
|
"github.com/rclone/rclone/fs/fshttp"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/fs/walk"
|
||||||
|
"github.com/rclone/rclone/lib/dircache"
|
||||||
|
"github.com/rclone/rclone/lib/oauthutil"
|
||||||
|
"github.com/rclone/rclone/lib/pacer"
|
||||||
|
"github.com/rclone/rclone/lib/readers"
|
||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
"golang.org/x/oauth2/google"
|
"golang.org/x/oauth2/google"
|
||||||
drive_v2 "google.golang.org/api/drive/v2"
|
drive_v2 "google.golang.org/api/drive/v2"
|
||||||
|
@ -333,7 +333,7 @@ export URLs for drive documents. Users have reported that the
|
||||||
official export URLs can't export large documents, whereas these
|
official export URLs can't export large documents, whereas these
|
||||||
unofficial ones can.
|
unofficial ones can.
|
||||||
|
|
||||||
See rclone issue [#2243](https://github.com/ncw/rclone/issues/2243) for background,
|
See rclone issue [#2243](https://github.com/rclone/rclone/issues/2243) for background,
|
||||||
[this google drive issue](https://issuetracker.google.com/issues/36761333) and
|
[this google drive issue](https://issuetracker.google.com/issues/36761333) and
|
||||||
[this helpful post](https://www.labnol.org/internet/direct-links-for-google-drive/28356/).`,
|
[this helpful post](https://www.labnol.org/internet/direct-links-for-google-drive/28356/).`,
|
||||||
Advanced: true,
|
Advanced: true,
|
||||||
|
@ -1018,7 +1018,7 @@ func NewFs(name, path string, m configmap.Mapper) (fs.Fs, error) {
|
||||||
}
|
}
|
||||||
// XXX: update the old f here instead of returning tempF, since
|
// XXX: update the old f here instead of returning tempF, since
|
||||||
// `features` were already filled with functions having *f as a receiver.
|
// `features` were already filled with functions having *f as a receiver.
|
||||||
// See https://github.com/ncw/rclone/issues/2182
|
// See https://github.com/rclone/rclone/issues/2182
|
||||||
f.dirCache = tempF.dirCache
|
f.dirCache = tempF.dirCache
|
||||||
f.root = tempF.root
|
f.root = tempF.root
|
||||||
return f, fs.ErrorIsFile
|
return f, fs.ErrorIsFile
|
||||||
|
|
|
@ -11,11 +11,11 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
_ "github.com/ncw/rclone/backend/local"
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/operations"
|
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
_ "github.com/rclone/rclone/backend/local"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/operations"
|
||||||
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"google.golang.org/api/drive/v3"
|
"google.golang.org/api/drive/v3"
|
||||||
|
|
|
@ -5,8 +5,8 @@ package drive
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -19,10 +19,10 @@ import (
|
||||||
"regexp"
|
"regexp"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/rclone/lib/readers"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
|
"github.com/rclone/rclone/lib/readers"
|
||||||
"google.golang.org/api/drive/v3"
|
"google.golang.org/api/drive/v3"
|
||||||
"google.golang.org/api/googleapi"
|
"google.golang.org/api/googleapi"
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/dropbox/dbhash"
|
"github.com/rclone/rclone/backend/dropbox/dbhash"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -38,17 +38,17 @@ import (
|
||||||
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sharing"
|
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/sharing"
|
||||||
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team"
|
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/team"
|
||||||
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/users"
|
"github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/users"
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/config/obscure"
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/lib/oauthutil"
|
|
||||||
"github.com/ncw/rclone/lib/pacer"
|
|
||||||
"github.com/ncw/rclone/lib/readers"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/config/obscure"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/lib/oauthutil"
|
||||||
|
"github.com/rclone/rclone/lib/pacer"
|
||||||
|
"github.com/rclone/rclone/lib/readers"
|
||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@ package dropbox
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -8,10 +8,10 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/rclone/lib/rest"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
|
"github.com/rclone/rclone/lib/rest"
|
||||||
)
|
)
|
||||||
|
|
||||||
// retryErrorCodes is a slice of error codes that we will retry
|
// retryErrorCodes is a slice of error codes that we will retry
|
||||||
|
|
|
@ -9,15 +9,15 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/fshttp"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/lib/dircache"
|
|
||||||
"github.com/ncw/rclone/lib/pacer"
|
|
||||||
"github.com/ncw/rclone/lib/rest"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/fshttp"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/lib/dircache"
|
||||||
|
"github.com/rclone/rclone/lib/pacer"
|
||||||
|
"github.com/rclone/rclone/lib/rest"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -205,7 +205,7 @@ func NewFs(name string, rootleaf string, config configmap.Mapper) (fs.Fs, error)
|
||||||
f.features.Fill(&tempF)
|
f.features.Fill(&tempF)
|
||||||
// XXX: update the old f here instead of returning tempF, since
|
// XXX: update the old f here instead of returning tempF, since
|
||||||
// `features` were already filled with functions having *f as a receiver.
|
// `features` were already filled with functions having *f as a receiver.
|
||||||
// See https://github.com/ncw/rclone/issues/2182
|
// See https://github.com/rclone/rclone/issues/2182
|
||||||
f.dirCache = tempF.dirCache
|
f.dirCache = tempF.dirCache
|
||||||
f.root = tempF.root
|
f.root = tempF.root
|
||||||
// return an error with an fs which points to the parent
|
// return an error with an fs which points to the parent
|
||||||
|
|
|
@ -4,8 +4,8 @@ package fichier
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -6,10 +6,10 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/lib/rest"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/lib/rest"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Object is a filesystem like object provided by an Fs
|
// Object is a filesystem like object provided by an Fs
|
||||||
|
|
|
@ -12,14 +12,14 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jlaffaye/ftp"
|
"github.com/jlaffaye/ftp"
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/config/obscure"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/lib/pacer"
|
|
||||||
"github.com/ncw/rclone/lib/readers"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/config/obscure"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/lib/pacer"
|
||||||
|
"github.com/rclone/rclone/lib/readers"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Register with Fs
|
// Register with Fs
|
||||||
|
|
|
@ -4,8 +4,8 @@ package ftp_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/ftp"
|
"github.com/rclone/rclone/backend/ftp"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -28,18 +28,18 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/config/obscure"
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/rclone/fs/fshttp"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/fs/walk"
|
|
||||||
"github.com/ncw/rclone/lib/oauthutil"
|
|
||||||
"github.com/ncw/rclone/lib/pacer"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/config/obscure"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
|
"github.com/rclone/rclone/fs/fshttp"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/fs/walk"
|
||||||
|
"github.com/rclone/rclone/lib/oauthutil"
|
||||||
|
"github.com/rclone/rclone/lib/pacer"
|
||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
"golang.org/x/oauth2/google"
|
"golang.org/x/oauth2/google"
|
||||||
"google.golang.org/api/googleapi"
|
"google.golang.org/api/googleapi"
|
||||||
|
|
|
@ -5,8 +5,8 @@ package googlecloudstorage_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/googlecloudstorage"
|
"github.com/rclone/rclone/backend/googlecloudstorage"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/googlephotos/api"
|
"github.com/rclone/rclone/backend/googlephotos/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
// All the albums
|
// All the albums
|
||||||
|
|
|
@ -3,7 +3,7 @@ package googlephotos
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/googlephotos/api"
|
"github.com/rclone/rclone/backend/googlephotos/api"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -18,20 +18,20 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/googlephotos/api"
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/config/obscure"
|
|
||||||
"github.com/ncw/rclone/fs/dirtree"
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/fs/log"
|
|
||||||
"github.com/ncw/rclone/lib/oauthutil"
|
|
||||||
"github.com/ncw/rclone/lib/pacer"
|
|
||||||
"github.com/ncw/rclone/lib/rest"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/backend/googlephotos/api"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/config/obscure"
|
||||||
|
"github.com/rclone/rclone/fs/dirtree"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/fs/log"
|
||||||
|
"github.com/rclone/rclone/lib/oauthutil"
|
||||||
|
"github.com/rclone/rclone/lib/pacer"
|
||||||
|
"github.com/rclone/rclone/lib/rest"
|
||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
"golang.org/x/oauth2/google"
|
"golang.org/x/oauth2/google"
|
||||||
)
|
)
|
||||||
|
|
|
@ -9,10 +9,10 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
_ "github.com/ncw/rclone/backend/local"
|
_ "github.com/rclone/rclone/backend/local"
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/ncw/rclone/fs/hash"
|
"github.com/rclone/rclone/fs/hash"
|
||||||
"github.com/ncw/rclone/fstest"
|
"github.com/rclone/rclone/fstest"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
|
@ -11,9 +11,9 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/googlephotos/api"
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/backend/googlephotos/api"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
)
|
)
|
||||||
|
|
||||||
// lister describes the subset of the interfaces on Fs needed for the
|
// lister describes the subset of the interfaces on Fs needed for the
|
||||||
|
|
|
@ -6,11 +6,11 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/googlephotos/api"
|
"github.com/rclone/rclone/backend/googlephotos/api"
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/ncw/rclone/fs/dirtree"
|
"github.com/rclone/rclone/fs/dirtree"
|
||||||
"github.com/ncw/rclone/fstest"
|
"github.com/rclone/rclone/fstest"
|
||||||
"github.com/ncw/rclone/fstest/mockobject"
|
"github.com/rclone/rclone/fstest/mockobject"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
|
@ -15,13 +15,13 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/fshttp"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/lib/rest"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/fshttp"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/lib/rest"
|
||||||
"golang.org/x/net/html"
|
"golang.org/x/net/html"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -13,11 +13,11 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/ncw/rclone/fs/config"
|
"github.com/rclone/rclone/fs/config"
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
"github.com/ncw/rclone/fstest"
|
"github.com/rclone/rclone/fstest"
|
||||||
"github.com/ncw/rclone/lib/rest"
|
"github.com/rclone/rclone/lib/rest"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="timer-test">timer-test</a></td><td align="right">09-May-2017 17:05 </td><td align="right">1.5M</td><td> </td></tr>
|
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="timer-test">timer-test</a></td><td align="right">09-May-2017 17:05 </td><td align="right">1.5M</td><td> </td></tr>
|
||||||
<tr><td valign="top"><img src="/icons/text.gif" alt="[TXT]"></td><td><a href="words-to-regexp.pl">words-to-regexp.pl</a></td><td align="right">01-Mar-2005 20:43 </td><td align="right">6.0K</td><td> </td></tr>
|
<tr><td valign="top"><img src="/icons/text.gif" alt="[TXT]"></td><td><a href="words-to-regexp.pl">words-to-regexp.pl</a></td><td align="right">01-Mar-2005 20:43 </td><td align="right">6.0K</td><td> </td></tr>
|
||||||
<tr><th colspan="5"><hr></th></tr>
|
<tr><th colspan="5"><hr></th></tr>
|
||||||
<!-- some extras from https://github.com/ncw/rclone/issues/1573 -->
|
<!-- some extras from https://github.com/rclone/rclone/issues/1573 -->
|
||||||
<tr><td valign="top"><img src="/icons/sound2.gif" alt="[SND]"></td><td><a href="Now%20100%25%20better.mp3">Now 100% better.mp3</a></td><td align="right">2017-08-01 11:41 </td><td align="right"> 0 </td><td> </td></tr>
|
<tr><td valign="top"><img src="/icons/sound2.gif" alt="[SND]"></td><td><a href="Now%20100%25%20better.mp3">Now 100% better.mp3</a></td><td align="right">2017-08-01 11:41 </td><td align="right"> 0 </td><td> </td></tr>
|
||||||
<tr><td valign="top"><img src="/icons/sound2.gif" alt="[SND]"></td><td><a href="Now%20better.mp3">Now better.mp3</a></td><td align="right">2017-08-01 11:41 </td><td align="right"> 0 </td><td> </td></tr>
|
<tr><td valign="top"><img src="/icons/sound2.gif" alt="[SND]"></td><td><a href="Now%20better.mp3">Now better.mp3</a></td><td align="right">2017-08-01 11:41 </td><td align="right"> 0 </td><td> </td></tr>
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/swift"
|
"github.com/ncw/swift"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
)
|
)
|
||||||
|
|
||||||
// auth is an authenticator for swift
|
// auth is an authenticator for swift
|
||||||
|
|
|
@ -15,16 +15,16 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/swift"
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/config/obscure"
|
|
||||||
"github.com/ncw/rclone/fs/fshttp"
|
|
||||||
"github.com/ncw/rclone/lib/oauthutil"
|
|
||||||
swiftLib "github.com/ncw/swift"
|
swiftLib "github.com/ncw/swift"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/backend/swift"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/config/obscure"
|
||||||
|
"github.com/rclone/rclone/fs/fshttp"
|
||||||
|
"github.com/rclone/rclone/lib/oauthutil"
|
||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@ package hubic_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/hubic"
|
"github.com/rclone/rclone/backend/hubic"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -18,21 +18,21 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/jottacloud/api"
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/accounting"
|
|
||||||
"github.com/ncw/rclone/fs/config"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/config/obscure"
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/rclone/fs/fshttp"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/fs/walk"
|
|
||||||
"github.com/ncw/rclone/lib/oauthutil"
|
|
||||||
"github.com/ncw/rclone/lib/pacer"
|
|
||||||
"github.com/ncw/rclone/lib/rest"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/backend/jottacloud/api"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/accounting"
|
||||||
|
"github.com/rclone/rclone/fs/config"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/config/obscure"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
|
"github.com/rclone/rclone/fs/fshttp"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/fs/walk"
|
||||||
|
"github.com/rclone/rclone/lib/oauthutil"
|
||||||
|
"github.com/rclone/rclone/lib/pacer"
|
||||||
|
"github.com/rclone/rclone/lib/rest"
|
||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ func init() {
|
||||||
|
|
||||||
srv := rest.NewClient(fshttp.NewClient(fs.Config))
|
srv := rest.NewClient(fshttp.NewClient(fs.Config))
|
||||||
|
|
||||||
// ask if we should create a device specifc token: https://github.com/ncw/rclone/issues/2995
|
// ask if we should create a device specifc token: https://github.com/rclone/rclone/issues/2995
|
||||||
fmt.Printf("\nDo you want to create a machine specific API key?\n\nRclone has it's own Jottacloud API KEY which works fine as long as one only uses rclone on a single machine. When you want to use rclone with this account on more than one machine it's recommended to create a machine specific API key. These keys can NOT be shared between machines.\n\n")
|
fmt.Printf("\nDo you want to create a machine specific API key?\n\nRclone has it's own Jottacloud API KEY which works fine as long as one only uses rclone on a single machine. When you want to use rclone with this account on more than one machine it's recommended to create a machine specific API key. These keys can NOT be shared between machines.\n\n")
|
||||||
if config.Confirm() {
|
if config.Confirm() {
|
||||||
// random generator to generate random device names
|
// random generator to generate random device names
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/lib/readers"
|
"github.com/rclone/rclone/lib/readers"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,8 +4,8 @@ package jottacloud_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/jottacloud"
|
"github.com/rclone/rclone/backend/jottacloud"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -11,11 +11,11 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
"github.com/ncw/rclone/fs/config/obscure"
|
"github.com/rclone/rclone/fs/config/obscure"
|
||||||
"github.com/ncw/rclone/fs/hash"
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
|
||||||
httpclient "github.com/koofr/go-httpclient"
|
httpclient "github.com/koofr/go-httpclient"
|
||||||
koofrclient "github.com/koofr/go-koofrclient"
|
koofrclient "github.com/koofr/go-koofrclient"
|
||||||
|
|
|
@ -3,7 +3,7 @@ package koofr_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
)
|
)
|
||||||
|
|
||||||
// About gets quota information
|
// About gets quota information
|
||||||
|
|
|
@ -7,8 +7,8 @@ import (
|
||||||
"syscall"
|
"syscall"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
)
|
)
|
||||||
|
|
||||||
var getFreeDiskSpace = syscall.NewLazyDLL("kernel32.dll").NewProc("GetDiskFreeSpaceExW")
|
var getFreeDiskSpace = syscall.NewLazyDLL("kernel32.dll").NewProc("GetDiskFreeSpaceExW")
|
||||||
|
|
|
@ -17,15 +17,15 @@ import (
|
||||||
"time"
|
"time"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/accounting"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/lib/file"
|
|
||||||
"github.com/ncw/rclone/lib/readers"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/accounting"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/lib/file"
|
||||||
|
"github.com/rclone/rclone/lib/readers"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Constants
|
// Constants
|
||||||
|
@ -86,7 +86,7 @@ are being uploaded and aborts with a message which starts "can't copy
|
||||||
- source file is being updated" if the file changes during upload.
|
- source file is being updated" if the file changes during upload.
|
||||||
|
|
||||||
However on some file systems this modification time check may fail (eg
|
However on some file systems this modification time check may fail (eg
|
||||||
[Glusterfs #2206](https://github.com/ncw/rclone/issues/2206)) so this
|
[Glusterfs #2206](https://github.com/rclone/rclone/issues/2206)) so this
|
||||||
check can be disabled with this flag.`,
|
check can be disabled with this flag.`,
|
||||||
Default: false,
|
Default: false,
|
||||||
Advanced: true,
|
Advanced: true,
|
||||||
|
|
|
@ -10,12 +10,12 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
"github.com/ncw/rclone/fs/hash"
|
"github.com/rclone/rclone/fs/hash"
|
||||||
"github.com/ncw/rclone/fstest"
|
"github.com/rclone/rclone/fstest"
|
||||||
"github.com/ncw/rclone/lib/file"
|
"github.com/rclone/rclone/lib/file"
|
||||||
"github.com/ncw/rclone/lib/readers"
|
"github.com/rclone/rclone/lib/readers"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,8 +4,8 @@ package local_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/local"
|
"github.com/rclone/rclone/backend/local"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"golang.org/x/sys/unix"
|
"golang.org/x/sys/unix"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
)
|
)
|
||||||
|
|
||||||
// readDevice turns a valid os.FileInfo into a device number,
|
// readDevice turns a valid os.FileInfo into a device number,
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -24,15 +24,15 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/config/obscure"
|
|
||||||
"github.com/ncw/rclone/fs/fshttp"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/lib/pacer"
|
|
||||||
"github.com/ncw/rclone/lib/readers"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/config/obscure"
|
||||||
|
"github.com/rclone/rclone/fs/fshttp"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/lib/pacer"
|
||||||
|
"github.com/rclone/rclone/lib/readers"
|
||||||
mega "github.com/t3rm1n4l/go-mega"
|
mega "github.com/t3rm1n4l/go-mega"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@ package mega_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/mega"
|
"github.com/rclone/rclone/backend/mega"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -15,22 +15,22 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/lib/atexit"
|
"github.com/rclone/rclone/lib/atexit"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/onedrive/api"
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/config/obscure"
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/lib/dircache"
|
|
||||||
"github.com/ncw/rclone/lib/oauthutil"
|
|
||||||
"github.com/ncw/rclone/lib/pacer"
|
|
||||||
"github.com/ncw/rclone/lib/readers"
|
|
||||||
"github.com/ncw/rclone/lib/rest"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/backend/onedrive/api"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/config/obscure"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/lib/dircache"
|
||||||
|
"github.com/rclone/rclone/lib/oauthutil"
|
||||||
|
"github.com/rclone/rclone/lib/pacer"
|
||||||
|
"github.com/rclone/rclone/lib/readers"
|
||||||
|
"github.com/rclone/rclone/lib/rest"
|
||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -541,7 +541,7 @@ func NewFs(name, root string, m configmap.Mapper) (fs.Fs, error) {
|
||||||
}
|
}
|
||||||
// XXX: update the old f here instead of returning tempF, since
|
// XXX: update the old f here instead of returning tempF, since
|
||||||
// `features` were already filled with functions having *f as a receiver.
|
// `features` were already filled with functions having *f as a receiver.
|
||||||
// See https://github.com/ncw/rclone/issues/2182
|
// See https://github.com/rclone/rclone/issues/2182
|
||||||
f.dirCache = tempF.dirCache
|
f.dirCache = tempF.dirCache
|
||||||
f.root = tempF.root
|
f.root = tempF.root
|
||||||
// return an error with an fs which points to the parent
|
// return an error with an fs which points to the parent
|
||||||
|
|
|
@ -4,8 +4,8 @@ package onedrive
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -11,18 +11,18 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/config/obscure"
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/rclone/fs/fshttp"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/lib/dircache"
|
|
||||||
"github.com/ncw/rclone/lib/pacer"
|
|
||||||
"github.com/ncw/rclone/lib/readers"
|
|
||||||
"github.com/ncw/rclone/lib/rest"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/config/obscure"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
|
"github.com/rclone/rclone/fs/fshttp"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/lib/dircache"
|
||||||
|
"github.com/rclone/rclone/lib/pacer"
|
||||||
|
"github.com/rclone/rclone/lib/readers"
|
||||||
|
"github.com/rclone/rclone/lib/rest"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -199,7 +199,7 @@ func NewFs(name, root string, m configmap.Mapper) (fs.Fs, error) {
|
||||||
}
|
}
|
||||||
// XXX: update the old f here instead of returning tempF, since
|
// XXX: update the old f here instead of returning tempF, since
|
||||||
// `features` were already filled with functions having *f as a receiver.
|
// `features` were already filled with functions having *f as a receiver.
|
||||||
// See https://github.com/ncw/rclone/issues/2182
|
// See https://github.com/rclone/rclone/issues/2182
|
||||||
f.dirCache = tempF.dirCache
|
f.dirCache = tempF.dirCache
|
||||||
f.root = tempF.root
|
f.root = tempF.root
|
||||||
// return an error with an fs which points to the parent
|
// return an error with an fs which points to the parent
|
||||||
|
|
|
@ -4,8 +4,8 @@ package opendrive_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/opendrive"
|
"github.com/rclone/rclone/backend/opendrive"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -19,19 +19,19 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/pcloud/api"
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/config/obscure"
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/lib/dircache"
|
|
||||||
"github.com/ncw/rclone/lib/oauthutil"
|
|
||||||
"github.com/ncw/rclone/lib/pacer"
|
|
||||||
"github.com/ncw/rclone/lib/rest"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/backend/pcloud/api"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/config/obscure"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/lib/dircache"
|
||||||
|
"github.com/rclone/rclone/lib/oauthutil"
|
||||||
|
"github.com/rclone/rclone/lib/pacer"
|
||||||
|
"github.com/rclone/rclone/lib/rest"
|
||||||
"golang.org/x/oauth2"
|
"golang.org/x/oauth2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -295,7 +295,7 @@ func NewFs(name, root string, m configmap.Mapper) (fs.Fs, error) {
|
||||||
}
|
}
|
||||||
// XXX: update the old f here instead of returning tempF, since
|
// XXX: update the old f here instead of returning tempF, since
|
||||||
// `features` were already filled with functions having *f as a receiver.
|
// `features` were already filled with functions having *f as a receiver.
|
||||||
// See https://github.com/ncw/rclone/issues/2182
|
// See https://github.com/rclone/rclone/issues/2182
|
||||||
f.dirCache = tempF.dirCache
|
f.dirCache = tempF.dirCache
|
||||||
f.root = tempF.root
|
f.root = tempF.root
|
||||||
// return an error with an fs which points to the parent
|
// return an error with an fs which points to the parent
|
||||||
|
|
|
@ -4,8 +4,8 @@ package pcloud_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/pcloud"
|
"github.com/rclone/rclone/backend/pcloud"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -17,13 +17,13 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/fshttp"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/fs/walk"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/fshttp"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/fs/walk"
|
||||||
qsConfig "github.com/yunify/qingstor-sdk-go/config"
|
qsConfig "github.com/yunify/qingstor-sdk-go/config"
|
||||||
qsErr "github.com/yunify/qingstor-sdk-go/request/errors"
|
qsErr "github.com/yunify/qingstor-sdk-go/request/errors"
|
||||||
qs "github.com/yunify/qingstor-sdk-go/service"
|
qs "github.com/yunify/qingstor-sdk-go/service"
|
||||||
|
|
|
@ -7,8 +7,8 @@ package qingstor
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -13,8 +13,8 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
qs "github.com/yunify/qingstor-sdk-go/service"
|
qs "github.com/yunify/qingstor-sdk-go/service"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -37,17 +37,17 @@ import (
|
||||||
"github.com/aws/aws-sdk-go/aws/session"
|
"github.com/aws/aws-sdk-go/aws/session"
|
||||||
"github.com/aws/aws-sdk-go/service/s3"
|
"github.com/aws/aws-sdk-go/service/s3"
|
||||||
"github.com/aws/aws-sdk-go/service/s3/s3manager"
|
"github.com/aws/aws-sdk-go/service/s3/s3manager"
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/rclone/fs/fshttp"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/fs/walk"
|
|
||||||
"github.com/ncw/rclone/lib/pacer"
|
|
||||||
"github.com/ncw/rclone/lib/rest"
|
|
||||||
"github.com/ncw/swift"
|
"github.com/ncw/swift"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
|
"github.com/rclone/rclone/fs/fshttp"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/fs/walk"
|
||||||
|
"github.com/rclone/rclone/lib/pacer"
|
||||||
|
"github.com/rclone/rclone/lib/rest"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Register with Fs
|
// Register with Fs
|
||||||
|
|
|
@ -4,8 +4,8 @@ package s3
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -19,17 +19,17 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/config/obscure"
|
|
||||||
"github.com/ncw/rclone/fs/fshttp"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/lib/env"
|
|
||||||
"github.com/ncw/rclone/lib/readers"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"github.com/pkg/sftp"
|
"github.com/pkg/sftp"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/config/obscure"
|
||||||
|
"github.com/rclone/rclone/fs/fshttp"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/lib/env"
|
||||||
|
"github.com/rclone/rclone/lib/readers"
|
||||||
sshagent "github.com/xanzy/ssh-agent"
|
sshagent "github.com/xanzy/ssh-agent"
|
||||||
"golang.org/x/crypto/ssh"
|
"golang.org/x/crypto/ssh"
|
||||||
"golang.org/x/time/rate"
|
"golang.org/x/time/rate"
|
||||||
|
|
|
@ -7,8 +7,8 @@ package sftp_test
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ncw/rclone/backend/sftp"
|
"github.com/rclone/rclone/backend/sftp"
|
||||||
"github.com/ncw/rclone/fstest/fstests"
|
"github.com/rclone/rclone/fstest/fstests"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestIntegration runs integration tests against the remote
|
// TestIntegration runs integration tests against the remote
|
||||||
|
|
|
@ -14,17 +14,17 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
"github.com/ncw/rclone/fs/config/configmap"
|
|
||||||
"github.com/ncw/rclone/fs/config/configstruct"
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/rclone/fs/fshttp"
|
|
||||||
"github.com/ncw/rclone/fs/hash"
|
|
||||||
"github.com/ncw/rclone/fs/operations"
|
|
||||||
"github.com/ncw/rclone/fs/walk"
|
|
||||||
"github.com/ncw/rclone/lib/pacer"
|
|
||||||
"github.com/ncw/swift"
|
"github.com/ncw/swift"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
"github.com/rclone/rclone/fs"
|
||||||
|
"github.com/rclone/rclone/fs/config/configmap"
|
||||||
|
"github.com/rclone/rclone/fs/config/configstruct"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
|
"github.com/rclone/rclone/fs/fshttp"
|
||||||
|
"github.com/rclone/rclone/fs/hash"
|
||||||
|
"github.com/rclone/rclone/fs/operations"
|
||||||
|
"github.com/rclone/rclone/fs/walk"
|
||||||
|
"github.com/rclone/rclone/lib/pacer"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Constants
|
// Constants
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs/fserrors"
|
|
||||||
"github.com/ncw/swift"
|
"github.com/ncw/swift"
|
||||||
|
"github.com/rclone/rclone/fs/fserrors"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user