rclone/fs/operations
Nick Craig-Wood 59e14c25df vfs: enable rename for nearly all remotes using server side Move or Copy
Before this change remotes without server side Move (eg swift, s3,
gcs) would not be able to rename files.

After it means nearly all remotes will be able to rename files on
rclone mount with the notable exceptions of b2 and yandex.

This changes checks to see if the remote can do Move or Copy then
calls `operations.Move` to do the actual move.  This will do a server
side Move or Copy but won't download and re-upload the file.

It also checks to see if the destination exists first which avoids
conflicts or duplicates.

Fixes #1965
Fixes #2569
2018-09-29 14:56:20 +01:00
..
dedupe_test.go dedupe: Add dedupe largest functionality - fixes #2269 2018-04-26 16:21:07 +01:00
dedupe.go build: fix errors spotted by ineffassign linter 2018-05-05 17:32:41 +01:00
listdirsorted_test.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
operations_internal_test.go operations: ignore size of objects when they are < 0 #320 2018-01-31 16:22:05 +00:00
operations_test.go cmd: add copyurl command - Fixes #1320 2018-08-30 16:45:41 +01:00
operations.go vfs: enable rename for nearly all remotes using server side Move or Copy 2018-09-29 14:56:20 +01:00