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.
Jordan Tucker commented
Doesn't closing this defeat the purpose of determining how popular this feature is? I can't upvote this, so it's like you aren't even listening to the community.
Ed Downs commented
Yep, this is a must have feature.
Lyon Till commented
+1 - Also need this feature.
This would make Onedrive an extremely useful tool for a variety of things. With Microsoft's newfound love for developers I really hope this can be implemented. It really sucks to use onedrive on, by today's standards, a fairly limited upload bandwidth of 512Kbit/s. It's especially frustrating for 60Mb of node packages to be uploaded every time I spin up a new project in my OneDrive directory. I really /want/ to use OneDrive, it's a great tool. I /want/ my projects to be backed up and available across my workstations, it just makes plenty of sense to be able to do this. This ability doesn't have to be complicated, non-power users don't even have to know about this ability, it just has to work with a .onedrive (ignore) file. It would be a killer app feature for a subset of your users and likely make it the de facto standard for that type of person (a set of people which Microsoft highly covets as a company).
Jonatan Rinckus commented
I'm a MS developer and it is the most essencial feature that OneDrive needs, why?
I don't want to sync the packages folder for every project, we don't need it, it is just wasting spacing and time.
I don't want to sync the bin and obj folder, we don't need it, it is just wasting spacing and time.
And I can't use the option to exclude the folder that is already on OneDrive, because it will exclude the folder on my PC and i want this folder on my PC, but I don't need it sync in the OneDrive or others computers that I use the same account.
My last purchase will finish on next year and if the OneDrive doesn't have the feature until the there, I will need to change to another service that has this feature because without this feature, I just have trouble to sync my projects and files.
pCloud seems to have this feature. They give 10gb of free storage (up to 20gb by referring people).
They also let you sync various folders from around your file system. Can even sync over local network which is ideal for my quick code sharing use case. Only just set it all up but seems great so far.
AvisErised 143 commented
Judging on the amount of comments, this would be one of the top requests if only people would still be able to vote. Could it please be reopened to determine demand?
For people who want to vote on a similar issue: https://onedrive.uservoice.com/forums/262982-onedrive/suggestions/10932591-exclude-folders-inside-onedrive-folder-from-synchi
I think such a feature is crucial for people who want to use OneDrive to sync databases in use by some kind of software processing the data.
For me, it is as simple as the software that's using data in a synced data folder creating some little files with % in their name. As a result, the OneDrive icon in my taskbar permanently shows a red cross and I never notice when something is *actually* wrong. Quite annoying. I can't tell the software to stop creating these small files in the folder containing the data it uses. And reading the comments below, it's obvious that *many* people struggle with similar issues. Just "putting the files outside of the OneDrive folder", as Angus Logan suggested above, is not a solution.
Please at least acknowledge the option of excluding folders from uploading to OneDrive would be useful.
Kresten Birkegaard Gregersen commented
Perhaps if we all vote on a similar issue we could get MS's attention:
Kresten Birkegaard Gregersen commented
+3 - Why Is it not possible to vote on this? OneDrive status icon is useless without this option - I always have a read x - I cant even dismiss the errors that are on irrelevant auto generated files
I need this too, Us developer types used to be respected by Microsoft cause we influence software decisions.
would really like to see this feature as well, some times it's not practically to move files outside folders and onedrive can't sync large files like.pst would be great to have this "exclude feature"
also it seems after one sync it considers everthing in cloud as master, so it will start downloads without checking if files on local folders are newer version on not, it would be great if it can do checks similar to robocopy and only sync delta if it's new on local or cloud.
This would be an acceptable missing feature for a rushed sub-standard student project.
Otherwise this is just pathetic.
It would take 1 average developer less than a week to add this including extensive testing, why oh why would anyone choose not to add this?
As a developer this is an essential feature, without it onedrive just continually churns over and over uploading minor build files.
Please add this essential feature asap.
Mikołaj Iskrzyński commented
This is kind of old, but still a major problem. And since Microsoft is too stubborn to change this...
I am not sure whether this fully solves the problem, but what has worked for me thus far in case of node_modules, was simply taking node modules elsewhere, then making a symbollic link in the syncd onedrive folder. It doesn't even get backed up by onedrive(cross icon without an error), which means you can have different node_modules links on different machines. But so far so good!
Lukas W commented
"we’d recommend putting the files outside of the OneDrive folder"
This is the most stupid answer I ever heared!
Daniel A. commented
+1 I'm a developer and I need this!
Why "not right now" ?
when is the /ignore feature being added to the product ??
Mauricio Morales commented
Expect this to be in the July 2016 update of Windows 10
Ruaidhri Mc Donnell commented
There is little reason not to add this feature. Its a relatively trivial to add, and examples exist in numerous similar applications. To force a user to change their behavior to suit the product (and this is not always possible), is both bad customer service, and a bad user experience. Technology should work for the user, not the other way around.