MStadlmeier / drivesync

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

Correct Directory structure for Whitelist/Blacklist ? #9

Open arifzeeshan opened 6 years ago

arifzeeshan commented 6 years ago

What is the correct structure for enforcing Whitelist/Blacklist ? I tried Blacklist["/FolderA", "/FolderB"] , if Folder A and Folder B are in the root directory of my drive ? And also how do we exclude/include folders in Computers in the left section ?

MStadlmeier commented 6 years ago

If you want to exclude folders your/drive/root/FolderA and your/drive/root/FolderB the correct syntax is blacklist: ["FolderA/*","FolderB/*"] For more information, see https://en.wikipedia.org/wiki/Glob_(programming)

I'm not sure what you mean with your second question regarding folders in Computers. Can you please elaborate?

arifzeeshan commented 6 years ago

This is what I meant - How to add folders to include/exclude in directory "Computers/My Mac Pro/...." untitled

MStadlmeier commented 6 years ago

DriveSync only works on files stored in MyDrive. If the files under Computers/ have a certain path in Drive then you can exclude them like any other files, however I'm not sure how those folders work, since they don't show up even if I sync my Windows PC.

axet commented 4 years ago

Seems like no blacklist nor whitelist are working...