iwonbigbro/gsync

Sync's Directories but none of the files within

Opened this issue · 1 comments

I can't seem to get Gsync to sync both the directories and the files they contain. I have been giving it both verbose and recursing parameters but directories and subdirectories are all that sync.

I am sure the error is mine.

Thank you for your help!

It´s a known bug (#69)

#In Ubuntu, open the following file:
sudo vi /usr/local/lib/python2.7/dist-packages/libgsync/drive/init.py

#go to:

body = {}
for k, v in properties.iteritems():
body[k] = _Drive.utf8(v)

#change to:
body = {}
for k, v in properties.iteritems():
if v is not None:
body[k] = _Drive.utf8(v)