From 07ebf35987417691a59a80b56277db90682f4669 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 16 Jan 2017 19:26:56 +0000 Subject: [PATCH] Clarify what happens to files already in the --backup-dir DIR --- docs/content/docs.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/content/docs.md b/docs/content/docs.md index 53d644f19..08c1b586c 100644 --- a/docs/content/docs.md +++ b/docs/content/docs.md @@ -193,7 +193,8 @@ respectively. When using `sync`, `copy` or `move` any files which would have been overwritten or deleted are moved in their original hierarchy into this -directory. +directory. Files with matching paths already in DIR will be +overwritten. The remote in use must support server side move or copy and you must use the same remote as the destination of the sync. The backup @@ -207,6 +208,9 @@ will sync `/path/to/local` to `remote:current`, but for any files which would have been updated or deleted will be stored in `remote:old`. +If running rclone from a script you might want to use today's date as +the directory name passed to `--backup-dir` to store the old files. + ### --bwlimit=BANDWIDTH_SPEC ### This option controls the bandwidth limit. Limits can be specified