Google Drive and change to dot files/folders?

Not sure if this is a user problem, odrive problem, or google drive problem. Everything was working fine on Friday.
OS: Windows 10 Pro, 10.0.18363.1082
ODrive: 6709

Came up today and opened the project I was working on, IDE said that the folder was registered as a VCS root but no .git folder could be found. I opened Explorer to the directory and any file or folder beginning with a period were renamed with something that looks like a dot and a space but decoding the name shows it’s something else. Decoded it into hex values gives me e.g. .git
200B (zero width space)
FF0E (full width full stop)
0067 (g)
0069 (i)
0074 (t)

Anybody else run into this issue recently? Like I said, it was fine on Friday and has been fine for YEARS working this way.

In case anyone else runs into this, I was able to fix it using https://github.com/ap/rename with find:

find . -name "​.*" -type d -print0 | rename -0 -k -S "​." "."
find . -name "​.*" -type f -print0 | rename -0 -k -S "​." "."

So far they haven’t reverted so hopefully it was just a one-shot glitch.

Hi @sauerc,
Sorry for the inconvenience on this one. This is a bug in our new illegal character handling where we are treating a leading period in the file name as a character that needs to be replaced.

Take a look at this post for a build that fixes it:

Thanks for the quick response! I’ve installed 6710 and will keep an eye on it.

1 Like