Hello,
Start off with a thanks for making rclone, it’s been useful for syncing some large backups from google drive.
If you prefer these issues all be added as separate bugs or feature requests please let me know and I’ll break them back down so they can be dealt with in separate entries.
(These issues have been tested with 1.34 and 1.34-04 beta)
There are a couple of issues that are working together to cause me grief while possibly not ‘bugs’ they are potentially bug-like to users. While they can be circumvented with better user file naming hygiene they still exist and may affect other rclone windows users.
[EDIT: Sorry, 1) can probably be ignored, I overlooked the feature request in github to fix this kind of thing]
-
repeatedly overwriting files that share the exact same name (eg, three DIFFERENT files all named ‘test1’ will cause only one file to copy, but get modified an additional 2 times due to mismatch, being left with only the third ‘test1’ file on the local disk. (If there is a way for rclone to pull the fileID instead of the fileName when writing files it could store this and ‘know’ they are actually different files and automatically rename them as they’re written to disk (eg oldest fileID first or something)
-
Files being renamed due to special characters (eg characters that are okay in gdrive / linux but not windows) are left out of sync commands. They will be detected, they will copy, then at the end of the copy the sync will double check and say “These file do not exist in the GDrive so I will delete them” even if they were copied and automatically renamed earlier on in the same sync process. (This is just because the new filename does not match the old filename when sync compares file lists and is circumvented by ‘–delete-before’ but still causes the file(s) to be re-downloaded every time)
-
Filenames not matching their file titles (eg extra whitespace at the end of the document TITLE, but that is automatically cleaned up in the Drives file name so you won’t find the issue until you go to do a copy/sync) example: file named “test123” in the drive, but the title of the document is "test123 " - this breaks rclone’s download attempt because it seems to use the file ‘title’ when making the download request to Drive, but Drive knows it by its drive file name (without the whitespace)
While I have logs they are pretty huge, so I’d rather just provide a list of the example entries / errors given by rclone when the above issues arise but I’m pretty sure I’ve already narrowed them down far enough for the info to be useful.
Let me know if you would like anything else and I apologise if my explanations don’t make sense.
Thanks