rclone/fs
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
..
accounting accounting: change too long names cutting mechanism - fixes #2490 2018-09-18 10:27:23 +01:00
asyncreader fs/asyncreader: skip some tests to work around race detector bug 2018-08-20 12:34:29 +01:00
chunkedreader fs: improve ChunkedReader 2018-05-05 12:49:42 +01:00
config config: don't create default config dir when user supplies --config 2018-09-03 15:30:53 +01:00
driveletter Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
filter filter: raise --include and --exclude warning to ERROR so it appears without -v 2018-06-22 22:18:55 +01:00
fserrors all: fix go-critic linter suggestions 2018-08-06 21:14:03 +01:00
fshttp all: fix go-critic linter suggestions 2018-08-06 21:14:03 +01:00
fspath fs: Allow on the fly remotes with :backend: syntax - fixes #2449 2018-08-26 17:59:31 +01:00
hash fs/hash: install QuickXorHash as a supported rclone hash type #2262 2018-04-20 21:02:57 +01:00
list list: change debug logs for excluded items 2018-09-24 17:08:35 +01:00
log log: Add --log-format flag - fixes #2424 2018-09-02 18:11:09 +01:00
march sync,march: check the cancel context on every channel send and receive 2018-05-05 12:58:28 +01:00
object build: fix errors spotted by ineffassign linter 2018-05-05 17:32:41 +01:00
operations vfs: enable rename for nearly all remotes using server side Move or Copy 2018-09-29 14:56:20 +01:00
rc rc: add support for OPTIONS and basic CORS - #2575 2018-09-24 17:04:47 +01:00
sync sync: add a buffer for checks, uploads and renames #379 2018-08-17 17:58:00 +01:00
walk Update error checking on fmt.Fprint* after errcheck update 2018-05-22 09:41:13 +01:00
bwtimetable_test.go fs: added weekday schedule into --bwlimit - fixes #1822 2018-06-17 18:38:09 +01:00
bwtimetable.go fs: added weekday schedule into --bwlimit - fixes #1822 2018-06-17 18:38:09 +01:00
config_list_test.go fs: fix tests for *SepList 2018-08-21 10:58:59 +01:00
config_list.go fs: move CommaSepList and SpaceSepList here from config 2018-08-20 17:52:05 +01:00
config.go cmd: add --progress/-P flag to show progress 2018-08-26 17:20:38 +01:00
deletemode.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
dir.go fs: add optional ID to fs.Directory and set it in the remotes which care 2017-08-07 15:31:22 +01:00
direntries.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
dump_test.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
dump.go fs: add --dump goroutines and --dump openfiles 2018-04-11 20:55:58 +01:00
fs_test.go Implement new backend config system 2018-07-16 21:20:47 +01:00
fs.go fs: update ChangeNotifier interface 2018-09-25 14:01:13 +02:00
log_test.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
log.go log: Add --log-format flag - fixes #2424 2018-09-02 18:11:09 +01:00
mimetype.go fs: Add MimeTypeDirEntry to return the MimeType of a DirEntry 2018-05-13 12:17:55 +01:00
options_test.go fs: Adjust RangeOption.Decode to return -1 for read to end 2018-01-27 14:31:29 +00:00
options.go fs/OpenOptions: Make FixRangeOption clamp range to filesize. 2018-08-10 11:14:34 +01:00
parseduration_test.go fs: Implement Scan method for SizeSuffix and Duration 2018-07-16 08:50:52 +01:00
parseduration.go fs: Implement Scan method for SizeSuffix and Duration 2018-07-16 08:50:52 +01:00
sizesuffix_test.go fs: Implement Scan method for SizeSuffix and Duration 2018-07-16 08:50:52 +01:00
sizesuffix.go fs: add multipliers for SizeSuffix 2018-07-29 18:17:05 +01:00
version.go Start v1.43-DEV development 2018-09-01 18:37:48 +01:00
versioncheck.go Require go1.7 for compilation #2154 2018-04-06 20:18:14 +01:00