Open Demetrio92 opened 6 years ago
To reproduce (on my machine, ubuntu 16.04.3)
user@laptop_model:~/main_folder$ grive -a
-----------------------
Please go to this URL and get an authentication code:
[LONG_URL]
-----------------------
Please input the authentication code here:
[SUPER_SECRET_CODE]
Reading local directories
Reading remote server file list
Stuck here. My size of gdrive is 11G
@Demetrio92 It happened the same with me...It might be the case that you have a lot to be synced so it is taking time try this user@laptop_model:~/$ grive -d -d gives you debug level information - so as long as you see post/get requests being exchanged b/w your machine & remote server - its okay. Its just the amount of files that is taking time...
Its stuck only if you see no post/get traffic
@Demetrio92 Additionally try syncing only one folder at a time user@laptop_model:~/$ grive -v -s FOLDER_NAME
I have the same problem, but even when I selected a subdirectory via -s
it's still clearly iterating my whole drive. Given that I back up phones, tablets, photos etc. to Drive, I probably have tens of thousands of files outside the selected subdirectory. So most likely this will take so long that grive2 is totally unusable for me :-( This sounds like quite a major flaw with -s
.
Ah, this is also mentioned in #188.
@aspiers commented on 1 Jul 2018, 01:26 BST:
I have the same problem, but even when I selected a subdirectory via
-s
it's still clearly iterating my whole drive. Given that I back up phones, tablets, photos etc. to Drive, I probably have tens of thousands of files outside the selected subdirectory. So most likely this will take so long that grive2 is totally unusable for me :-( This sounds like quite a major flaw with-s
.
And here's the proof:
@aspiers commented on 1 Jul 2018, 01:26 BST:
I have the same problem, but even when I selected a subdirectory via
-s
it's still clearly iterating my whole drive. Given that I back up phones, tablets, photos etc. to Drive, I probably have tens of thousands of files outside the selected subdirectory. So most likely this will take so long that grive2 is totally unusable for me :-(
Happily I was too pessimistic, and it only took a few minutes to run. So I guess the ignore pattern is managing to skip huge directories.
I think I saw a commit somewhere in the repo's network that fixes this issue, but I've not been able to find it.
https://github.com/Grive/grive/issues/348