Allow Individual Users (not Admins) To Exclude Specific Files and Folders
Currently, users cannot exclude files or folders from OneDrive. For example, I like the reminder that says that "Files you delete [can be restored] from your OneDrive recycle bin within the next 93 days." However, I don't need that reminder every time I save a file, when my editor replaces the .bak file. And those .bak files shouldn't be stored in OneDrive anyway. So we need a way, as individual users (not administrators) to exclude specific files, files based on wildcards, files in specific folders, or files in specific subfolders of a hierarchy in the file system (ex: "\users\mark\projects**\node_modules", from March 21 comment in feature request #18449926).
From https://onedrive.uservoice.com/forums/913522-onedrive-on-windows/suggestions/18449926-reassess-the-possibility-to-ignore-or-exclude-sele :
The feature you implemented is by far NOT what we were asking for.
1. It needs to be user-specific. No-one is gonna ask admins to disable sync of their files in their OneDrive directories. Every user has different directory layout and different needs. Admins would get crazy about those requests.
2. It needs to support folders too
3. it needs to be more general than just file types. A simple file/folder path comparison with a regex is enough.
I mean, you implemented an overcomplicated feature not at all meeting our needs, when all we asked for was a simple textbox in onedrive settings specifying the regex for ignored locations.
Robert Simpson commented
@Roland No, no workaround for this. Other than there _is_ an option for an administrator to exclude specific files, via a policy.
Did you find a solution/workaround for this?