grive2
grive2 copied to clipboard
.griveignore does not ignore folders with spaces
I noticed that when I add to .griveignore folder with spaces, it still syncs it.
For example if I have folder a 1
in grive root. And such line in .griveignore file a\ 1
, it still syncs this folder. Ignoring of folders without spaces works well. It seems like the same situation with files that contain spaces in the name.
Same:
-> cat .griveignore
Google\ Photos
-> grive --id blabla.apps.googleusercontent.com --secret blablu
Reading local directories
Reading remote server file list
Synchronizing files
sync "./.griveignore" changed in remote. downloading
sync "./Google Photos/2016/01/IMG_1580.MOV" changed in remote. downloading
Not able to check it myself right now, but does it work if you have something like: "Google Photos"
instead of Google\ Photos
?
@nodatahere thanks for the suggestion.
Tried with double and single quotes "
'
and no change :disappointed:
But I did get something interesting...
-> cat .griveignore
"Google Photos"
-> grive
Reading local directories
Reading remote server file list
Synchronizing files
sync "./.griveignore" changed in remote. downloading
sync "./Google Photos/2016/01/IMG_1580.MOV" changed in remote. downloading
-> cat .griveignore
Google\ Photos
So grive
changed my .griveignore
to Google\ Photos
...weird...
I'm having the same issue. Placing ? or * instead of a space doesn't help