rclone/fs
Nick Craig-Wood e7c20e0bce operations: make move and copy individual files obey --backup-dir
Before this change, when using rclone copy or move with --backup-dir
and the source was a single file, rclone would fail to use the backup
directory.

This change looks up the backup directory in the Fs cache and uses it
as appropriate.

This affects any commands which call operations.MoveFile or
operations.CopyFile which includes rclone move/moveto/copy/copyto
where the source is a single file.

Fixes #3219
2019-05-27 16:14:55 +01:00
..
accounting accounting: enable accounting without passing through the stream #2252 2019-05-11 23:35:19 +01:00
asyncreader fs/asyncreader: optionally user mmap for memory allocation with --use-mmap #2200 2019-02-02 14:35:56 +00:00
cache fs/cache: factor Fs caching from fs/rc into its own package 2019-05-27 16:14:55 +01:00
chunkedreader fix spelling 2019-04-30 14:12:18 +02:00
config Use go-homedir to read the home directory more reliably 2019-05-11 23:39:04 +01:00
driveletter Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
filter fix spelling 2019-04-30 14:12:18 +02:00
fserrors fserrors: use errors.Walk for the wrapped error types 2019-05-01 16:56:08 +01:00
fshttp copyurl: honor --no-check-certificate 2019-05-11 17:44:58 +01:00
fspath backend: unify NewFs path handling for wrapping remotes 2018-10-10 17:50:27 +01:00
hash build: fix problems found with unconvert 2019-02-02 11:45:07 +00:00
list fix spelling 2019-04-30 14:12:18 +02:00
log build: fixup code formatting after goimports change 2018-10-13 22:47:12 +01:00
march copy,move: restore --no-traverse flag 2018-12-02 20:28:13 +00:00
object build: fix errors spotted by ineffassign linter 2018-05-05 17:32:41 +01:00
operations operations: make move and copy individual files obey --backup-dir 2019-05-27 16:14:55 +01:00
rc fs/cache: factor Fs caching from fs/rc into its own package 2019-05-27 16:14:55 +01:00
sync Look for Fs in the cache rather than calling NewFs directly 2019-05-27 16:14:55 +01:00
version cmd/version: factor version number parsing routines into fs/version 2018-11-05 15:44:40 +00:00
walk fix spelling 2019-04-30 14:12:18 +02: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 Make flags show up with their proper names, eg SizeSuffix rather than int 2019-02-07 11:57:26 +00:00
config.go operations: enable multi threaded downloads - Fixes #2252 2019-05-11 23:35:19 +01:00
deletemode.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
dir.go fs: copy the ID too when we copy a Directory object 2019-04-16 13:33:10 +01:00
direntries.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
dump_test.go Fix broken flag type tests 2019-02-07 16:42:26 +00:00
dump.go Make flags show up with their proper names, eg SizeSuffix rather than int 2019-02-07 11:57:26 +00:00
fs_test.go pacer: make pacer more flexible 2019-02-16 14:38:07 +00:00
fs.go local: define OpenWriterAt interface and test and implement it #2252 2019-05-11 23:35:19 +01: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 fix spelling 2019-04-30 14:12:18 +02:00
parseduration_test.go fs: Implement Scan method for SizeSuffix and Duration 2018-07-16 08:50:52 +01:00
parseduration.go Make flags show up with their proper names, eg SizeSuffix rather than int 2019-02-07 11:57:26 +00:00
sizesuffix_test.go fs: Implement Scan method for SizeSuffix and Duration 2018-07-16 08:50:52 +01:00
sizesuffix.go fix spelling 2019-04-30 14:12:18 +02:00
version.go Start v1.47.0-DEV development 2019-04-13 13:08:37 +01:00
versioncheck.go build: drop support for go1.8 2019-04-15 21:49:58 +01:00