MStadlmeier / drivesync

Google Drive synchronization for Linux
MIT License
197 stars 26 forks source link

Folders are only synchronized when a file is added to it; Folders are not deleted #13

Open crankynetman opened 6 years ago

crankynetman commented 6 years ago

First off, thanks for all the hard work on this project, I am really loving it.

If I create a new folder with no content (either locally or via the Drive web client) the folder is not synchronized. Once I ad a file to the folder, it will synchronize. Additionally, deleting a folder (either from the cloud or from the local client) doesn't synchronize. The contents will be deleted, but the folder structure will remain.

I am running 1.3.3 on Debian 9.4 and ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu]

Any thoughts on what can be done to allow these changes to synchronize?

Thanks!

MStadlmeier commented 6 years ago

This is a known issue. DriveSync works by comparing the list of files on both ends, so empty folders are in general ignored. I'd definitely like to change this in the future but I can't say for sure yet when I'll get to it. Definitely open to pull requests, though.