iwonbigbro/gsync

Only synching dirs. Not Files?

Closed this issue · 2 comments

I tested pushing a small directory of files:
a/a1
a/b/b1
a/b/c/c1

Problem 1: Doesn't push top dir "a". Ignores it.
$ gsync -vcrlstI a drive://BACKUPS/
sent 0 bytes received 0 bytes 0.00 bytes/sec

If I rename "a" to "testsync" it starts to work better:
$ mv a testsync
$ gsync -vcrlstI testsync drive://BACKUPS/
testsync/
testsync/a1
testsync/b/
testsync/b/b1
testsync/b/c/
testsync/b/c/c1
sent 0 bytes received 0 bytes 0.00 bytes/sec

Problem 2: The above command just synched the dirs, ignoring the files:
gsync

Anyone seen issues like this? Am I using the wrong options?

This is a duplicate of #69. A workaround is included in that bug's thread.

Thanks for the feedback. Apologies for the duplicate.