drivesync icon indicating copy to clipboard operation
drivesync copied to clipboard

Correct Directory structure for Whitelist/Blacklist ?

Open arifzeeshan opened this issue 7 years ago • 4 comments

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 ?

arifzeeshan avatar May 11 '18 08:05 arifzeeshan

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?

MStadlmeier avatar May 14 '18 10:05 MStadlmeier

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

arifzeeshan avatar May 21 '18 00:05 arifzeeshan

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.

MStadlmeier avatar May 21 '18 08:05 MStadlmeier

Seems like no blacklist nor whitelist are working...

axet avatar Apr 27 '20 16:04 axet