Allow me to piggy back on this as I have an issue relating to this.
I have an account with files and folders in the root (100's).
/test.jpg
/dir/randome.txt
...
I try to run the command:
rclone move remote: remote:testmove
As I want everything under the users root directory to be moved to the folder called testmove (which doesn't exist so rclone will create it)
Here's the error I get:
C:\rclone>rclone move remote: remote:testmove
2020/01/30 09:31:01 ERROR : Google drive root 'testmove': Server side directory move failed: can't move root directory
2020/01/30 09:31:01 ERROR : Attempt 1/3 failed with 2 errors and: can't move root directory
2020/01/30 09:31:01 ERROR : Google drive root 'testmove': Server side directory move failed: can't move root directory
2020/01/30 09:31:01 ERROR : Attempt 2/3 failed with 2 errors and: can't move root directory
2020/01/30 09:31:01 ERROR : Google drive root 'testmove': Server side directory move failed: can't move root directory
2020/01/30 09:31:01 ERROR : Attempt 3/3 failed with 2 errors and: can't move root directory
2020/01/30 09:31:01 Failed to move with 2 errors: last error was: can't move root directory
What i'm understanding from this is the following:
it created the folder testmove and it's trying to move it into it's own, which is giving an error (understandibly)
I looked into the --exclude command but i couldn't find howto exclude just a directory, it seems to only exclude a dir if there's a file inside (i.e.: /testmove/file.jpg).
What am I missing to make this work?
Do I have to run an lsf command outputting to a txt file and then use fromfile (I would like to avoid this path as the folders will be updated and I need to perform a couple of deltas and it would mean that every time I have recreate the fromfile ?
Is there a way to exclude just a directory from the move command (if so, how)?
Any help would be appreciated.
Thank you,