Use a file to ignore / exclude files or folder
Add functionality similar to a gitIgnore file or nomedia files. Allow a user to add a .ignore file to exclude local files or folders from being synced.
Example: I have NodeJS projects on my OneDrive but get sync errors because the file path is too long. The long paths are primarily extra modules that do not need to be synced. It would be nice to be able to exclude certain folders or files.
Hi, for this scenario we’d recommend putting the files outside of the OneDrive folder. The design is that all files in the OneDrive folder will be sync’d and files outside the folder will not be sync’d.
So you are releasing this for Windows after nearly 5 years..when are you going to release it for OXS another 5 years!!
5 years later
1. There are programs that creates file inside documents folder, and folder cannot be changed.
2. onedrive upload speed sucks
3. while syncing, program freezes, so I have to manually delete files to run program
4. either make onedrive server fast, or add ignore folder function. if not, I have to disable onedrive syncing because of single folder. thanks.
[Deleted User] commented
Please add this. It does not have to be in the UI. It can just be a text file just like the .gitignore. But please add this.
Michael Savage commented
I second this feature. We use folder redirection of documents and such to one drive and some programs put files in there (like outlook add-in stuff) and when outlook is open it cause issues with files sync and throws an error. It would be nice to be able to keep file in the onedrive folder can be excluded but still remain IN the correct file location for reference. It is too much of a pain to modify registry and etc to make sure the program that uses it knows where it is and this can lead to errors. PLEASE IMPLIMENT THIS FEATURE.
Vincent Lee commented
Why can't vote?????
NOT RIGHT NOW .. haa..
First Allow users to vote this topic.
Second, Microsoft sales team should educate clients that OneDrive is not all employees especially developers, but only for certain business team and for executives.
There are bunch of other competitors which can support exclude files/folders better way, not sure why clients should go with OneDrive and with MS..
Andrii Pashnov commented
Why can't I vote?
It's fresh and clever idea.
Just do it your work properly.
Shy Spy commented
just do it, I would like not to use it, but the company makes me use it(((.
Microsoft products can't just work stable, they always crashes from time to time.
your design is stupid ... and you are incompetent for not recognise the necessity to make accommodations... it is infuriating to see how many incompetent ego driven idiots act as so called product managers in the software industry
John Magdy Lotfy commented
a must to be added feature...
Bob Vale commented
This really needs to be addressed, an exclude file equivalent to .gitignore would be invaluable. This would allow files to be put into one drive (e.g. Lightroom Catalogs) and files that are not necessary to sync be ignored (e.g. the previews). Additionally with the ability to now redirect the Documents folder applications tend to include temporary files that are not needed in the long run (e.g. IIS Logs when local debugging). I get the concern may be about users complaining that files are missing when not expected or that malware may exploit this but solutions could be made around this. For example require a toggle to be set to enable the feature. Or don't rely on an in filesystem ignore file, make it editable via the web portal.
However a .ignore file would be preferable.
2020 here.... still can't filter out files/folder :(
Amazingly arrogant to close this down for vot!. Each and every day OneDrive hangs because of locked files. As others comment: I want to have my projects available on OneDrive - it is very convenient - but I cannot control all temporary files.
Shimmy Weitzhandler commented
I'll be considering OneDrive when this feature is implemented.
Probably bc the feature would allow people to take advantage of their free storage more.
I guess most here understand how things are, and yet there are many times where users have no control over some contents.
In my case, my company decides to direct some internal software files inside my "Documents", and there is nothing I can do about it. As a result, OneDrive keeps failing to sync some files, and the only alternative I have is not syncing the standard "Documents" folder, which is not really what I'd like to do.
Want to sync my User Folder without the AppData folder to be synced. This feautre should be simple to develop.
Joachim Roppert commented
Is it really that hard to implement such a simple feature?? Wow!
it's just about incredible that this is not an option right now ... !!!