Reassess the possibility to ignore or exclude selected OneDrive folders and files from the sync process.
It would be great to be able to ignore or exclude selected files and folders within the OneDrive folder from syncing. It has been requested a few times before and solves user problems in a variety of areas: from software developers having problems with temporary build files and node_modules folders, through users who want to ignore sync problems (or issues like waiting days for a file to upload on a slow connection) by ignoring files in sync, to users who want to ignore files and folders created by applications, especially photo applications. There are many use cases where this feature would be a solution.
It might also be the case that a feature would reduce the number of support requests and user dissatisfaction, since users would have a way to fix various issues themselves (there is probably more applicable scenarios than described above) by desyncing a file or folder causing problems.
I know this feature has been requested before, and has received the status 'not right now', therefore I have termed this request 'reassess', to determine if the 'not right now' status is still the state of this feature request. I have collected the IDs of the uservoice requests for which this feature would be a solution (listed at the end of the request), summing the votes on these requests, this feature has a total of 549 votes, which would place at about the 35th position, among other requests which have status of 'working on it' or 'thinking about it'.
Thanks for your consideration!
The IDs of the related uservoice issues are: 6988070,10720758,10932591,10778649,10954851,11301837,11344905,11654178,13452462,15748891,17236724,8026992,15017205,17169314,18429295,7290507,11625105,12915153,13541754,16044514,7927728
We’re actively looking at this scenario, starting with specific files and file types. We will share an update as we are closer to a more specific timeline.
Brett Brewer commented
When this is implemented PLEASE have an option to honor any pre-existing rules defined in .gitignore files. Then users would not need to do any special configuration for folders that are already configured to be ignored by version control. This would solve pretty much ALL my problems with OneDrive.
Josh P. commented
Stopping by to add my 2 cents that this would be a huge quality of life improvement for the office I manage. When you block a certain file type, that throws an error in the user's OneDrive. It would be great to allow a user to say "Ignore file and don't prompt again" or something similar, so that they can move on with the rest of their use of the software.
Alex Mackowiak commented
How is this not a thing yet? Is it really that hard to read a file and not upload if a file/folder name is in the file?
@Admin There is an app called InSync they have this exact feature, they use .gitignore syntax to exlucde / ignore files and folders from syncing. But they're based in Philipines hence i don't trust them with my data. If they can do it am sure MS can do it, it's not rocket science.
Juan Rios commented
.gitignore, .dockerignore .odignore wildcards like --exclude (like rsync)
Filter specific folders: folder*specific_name/
Filter specific extensions: *.jars
FIle convenitions like: exclude_*folder/file*expression
Roland Harrison commented
Can we please get an update on this?
Steven Magee commented
Please add the .gitignore type functionality. You could use .onedriveignore.
This would solve a wide variety of issues I am having with OneDrive, for both personal and work use
Im using OneDrive to sync a Rust project I work on. If you are familiar with Rust, it creates a target folder with bunch of execs and I would like this target folder to be ignored. This target folder is specific to OS and I work on multiple OSes (Linux, MacOS). Ignoring would make syncing so much faster.
I would appreciate this feature too.
I'd like to see this change too. It's causing problems with the Front-end of my Access database.
I'm afraid "starting with specific files and file types" wouldn't do it for me.
In my case, my problem is actually a "log" text file, which a company internal program stores in my "Documents" folder and keeps always open, 'causing OneDrive to remain on an ever ending "syncing status" which perturbs my work. Since the location of such log is hard coded by policy, there is nothing I can do about it.
One could argue that was a bad practice by the IT department, but then again the point is that there are many scenarios where users have no control.
I understand the under-the-hood changes might not be easy, but from a user point of view, it'd be ideal if one could simply mark up folders to "ignore" within the present "select folders to sync" functionality. Essentially 3 options vs. 2 now:
2) No Sync
I think this is such a basic and necessary feature. We want this! Isn't this place the right place to hear user requests and implemented them? What´'s the problem with you guys? This is the second most voted issue. Get to work, give us what we want or there's no point of keeping this site up.
An update would definitely be nice. After all the issue is 3 years old...
Can you share the timeline already?
I'm desperately waiting for this feature
I can't stress out enough how important this feature is!
If you bought up github, you can also adapt the functionality of the .gitignore file.
Please make it so!
Jose Felipe Araujo commented
This request was created in 2017... 3 years to implement this feature? How much time they need to implement this?
Ross Callaghan commented
This really needs to be implemented as soon as possible. All of the syncing of temporary cache files has rendered OneDrive virtually unusable for me.
Steve Eckhardt commented
In the online OneDrive Admin portal (admin.onedrive.com), under the Sync tab, there is an option to "Block syncing of certain file types", which allows you to list file extensions that should not be synced. This sounded really good because I'm a developer, and Visual Studio creates megabytes of temporary files. I entered the extensions of these files in the box, expecting them to be ignored by OneDrive. Instead, the result was that the files were flagged as sync issues and syncing stopped. Please change the behavior of OneDrive so it just ignores these files and acts as if they didn't exist. For extra credit, you could put a symbol beside them to identify them as ignored.
What's the deal with it? How is this such a hard thing to implement?