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.
Richard Alonso commented
I get the same problem (file name too long) even when the folder is excluded from the sync. I am using the one drive as a cloud backup for certain files on my mac and have no need to sync them back to my desktop (as a matter of fact I don't want to), however even when the folder is excluded I still get the error. At a minimum the program should not even scan the one drive directory if the folder is excluded.
Howard Lam commented
visual studio's sdf and build folders are killing me
Matthew Kerfoot commented
So Angus... Your answer is don't use this product.
BAHahahaa thanks I was already considering dropping it
Alfie Kirkpatrick commented
OneDrive needs to do one of three things:
- Support long file names. If the OS supports it OneDrive should support it
- Allow exclusion of certain folders from the sync via right click on folder. This should keep local files but delete from OneDrive so files are not sync'd in future
- At the very least, when OneDrive hits a problem it should continue syncing other files. At the moment we just get a dialogue with Open Location, Try again or Exit. There should be a 'Skip' option
Bruno Wego commented
Please, add this!
my bad found the instructions on another page...
I don't want to sync all my files to all of my machines. My notebook has a 250gb ssd. my ipad 64gb and my desktop is TWO TERRABYTES of mostly photos and videos that i don't need on my notebook. it would be a simple as a checkbox on the cloud or a menu choice like carbonite's that allows me to choose to backup. Do you guys use your products? Don't get me started on my windows phone.
Jeremy Brown commented
"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."
Many of these types of files are generated on builds, so this suggestion is nonsense.
This is really necessary, I have lots of node projects and can't sync because of this issue! Please reconsider.
Hey Angus, I've been reading your blog since back in the MCMS days.
PLEASE reconsider this feature as it very much a common scenario nowadays.
Fredrik Borgström commented
I'm a developer (mostly node nowadays) who likes to take a lot of photos. So I would definitely appreciate the ability to ignore certain files or folders (such as the preview cache for lightroom and the node modules folder) from being pushed to the cloud.
YES one drive needs a feature to exclude/ignore certain files, like .ini files. HATE this program from the get go.
Allan S commented
Angus - one drive blows DOG. There should be zero reason why the archaic limitations of the windows file path length should even be a problem with a post 1990 technology.
Inherent limitations in Google Drive's ability to handle uploading a large number of files had me exploring OneDrive. This is driving me away to take a look at Dropbox.
Here's a typical, strictly mass consumer situation, where the inability to exclude a particular folder from uploading to OneDrive is causing problems:
I store thousands of family photos on OneDrive, and I also sync those same photos to my iPhone through iTunes, which causes it to create the "iPod Photo Cache" folder inside OneDrive. This effectively duplicates the number of files that get uploaded to OneDrive, as for each original image iTunes creates a database file, which is only garbage once uploaded to OneDrive in the cloud.
I have this setup so that I can have my photos accessible both by my family through OneDrive sharing as well as by myself locally on my mobile device. I think this should be a typical situation faced by many OneDrive users and should prove the point to have folder upload exclusion as a feature in the software. Thank you.
Viktor Fonic commented
Considering the fact that OneDrive gives you 1TB storage today, you'd want to have most of your files synced.
I basically have almost every single file on my computer in OneDrive folder.
Not having this possibility, makes OneDrive choke when trying to process .git or node_modules folder (with thousands of small files).
Either fix the OneDrive, or at least provide this functionality.
Tom Deseyn commented
Hi guys, since I could not vote on this idea and I think it is a great one, I created a new one (a bit tailered more to the developper use-case): https://onedrive.uservoice.com/forums/262982-onedrive/suggestions/10720758-make-it-possible-to-ignore-build-artifacts.
If you still think this feature is important, you can vote on it.
I also was surprised uservoice did not allow me to vote on a closed issue!
Martin Omacht commented
I would really like this feature either, please reconsider it, it would be really useful
Juan Jose Mendoza Santana commented
How can we put more pressure so this requirement can be re-opened??? Can we generate a trending topic on twitter? say: "#OneDriveNeedsIgnoreFile" or something....
John C commented
Please reconsider. I currently have to use SeaFile.com because their product supports this idea of an ignore file. I would prefer to use OneDrive since its part of my office subscription, but this feature kills it for me.