I have two folders on Google Drive: drive:/some/path/current
and drive:/some/path/2018/date
These contains some of the same folders such as: drive:/some/path/current/media
and drive:/some/path/2018/date/media
The folders overlap, but all files in the two paths are unique.
If I do rclone move drive:/some/path/2018/date drive:/some/path/current
will that merge all folders in drive:/some/path/2018/date into the folders in drive:/some/path/current and keep the files that are already in drive:/some/path/current?
If not how can I merge two folders on the same Google Drive remote?
Here is an example of copying with a few files in a folder and the other way with 0 files in there.
felix@gemini:/data/test$ rclone sync -vv --dry-run /data/test/s /data/test/t
2018/07/21 10:36:47 DEBUG : rclone: Version "v1.42" starting with parameters ["rclone" "sync" "-vv" "--dry-run" "/data/test/s" "/data/test/t"]
2018/07/21 10:36:47 DEBUG : Using config file from "/home/felix/.rclone.conf"
2018/07/21 10:36:47 INFO : Local file system at /data/test/t: Waiting for checks to finish
2018/07/21 10:36:47 INFO : Local file system at /data/test/t: Waiting for transfers to finish
2018/07/21 10:36:47 INFO : Waiting for deletions to finish
2018/07/21 10:36:47 NOTICE: test: Not deleting as --dry-run
2018/07/21 10:36:47 NOTICE: test1: Not deleting as --dry-run
2018/07/21 10:36:47 NOTICE: test2: Not deleting as --dry-run
2018/07/21 10:36:47 INFO :
Transferred: 0 Bytes (0 Bytes/s)
Errors: 0
Checks: 3
Transferred: 0
Elapsed time: 0s
2018/07/21 10:36:47 DEBUG : 4 go routines active
2018/07/21 10:36:47 DEBUG : rclone: Version "v1.42" finishing with parameters ["rclone" "sync" "-vv" "--dry-run" "/data/test/s" "/data/test/t"]
felix@gemini:/data/test$ rclone sync -vv --dry-run /data/test/s /data/test/t
2018/07/21 10:36:55 DEBUG : rclone: Version "v1.42" starting with parameters ["rclone" "sync" "-vv" "--dry-run" "/data/test/s" "/data/test/t"]
2018/07/21 10:36:55 DEBUG : Using config file from "/home/felix/.rclone.conf"
2018/07/21 10:36:55 INFO : Local file system at /data/test/t: Waiting for checks to finish
2018/07/21 10:36:55 INFO : Local file system at /data/test/t: Waiting for transfers to finish
2018/07/21 10:36:55 INFO : Waiting for deletions to finish
2018/07/21 10:36:55 NOTICE: test: Not deleting as --dry-run
2018/07/21 10:36:55 NOTICE: test1: Not deleting as --dry-run
2018/07/21 10:36:55 NOTICE: test2: Not deleting as --dry-run
2018/07/21 10:36:55 INFO :
Transferred: 0 Bytes (0 Bytes/s)
Errors: 0
Checks: 3
Transferred: 0
Elapsed time: 0s
2018/07/21 10:36:55 DEBUG : 3 go routines active
2018/07/21 10:36:55 DEBUG : rclone: Version "v1.42" finishing with parameters ["rclone" "sync" "-vv" "--dry-run" "/data/test/s" "/data/test/t"]
felix@gemini:/data/test$ ls t
test test1 test2
felix@gemini:/data/test$ ls s
You can see the not deleting as dry run in the first that shows what will be copied.
Odd. I did the same test and if I have the dest local, it shows all the files, but if the dest is my gd, it doesn’t show anything. I guess it’s got something to do with the server-side copy.