7,932 votes339 comments · OneDrive on Windows » Desktop (Sync, Files On-Demand) · Flag idea as inappropriate… · Admin →
This feature has rolled out for files (https://docs.microsoft.com/en-us/onedrive/use-group-policy#exclude-specific-kinds-of-files-from-being-uploaded) and we are looking to expanding it to folders in the future.
An error occurred while saving the commentMark Hughes commented
This is not a solution. Businesses working both remotely and in-office need to be able to easily switch between computers.
If we cannot exclude certain directory patterns, e.g. "\users\mark\projects\**\node_modules" it breaks one drive, which will try to sync 100,000+ files that; a) won't work on another computer, and b) don't need to be in onedrive. There is no "clean" solution to moving these out of onedrive either, we would have to make a symbolic link manually.
It may be worthwhile to look at an alternative for businesses.Mark Hughes supported this idea ·