Showing results for 
Search instead for 
Did you mean: 
Did you know you can get an answer in less than 2 hours? Try asking a question now!

exclude files based on a file mask

98 Votes
Level 2

It will be so useful if I could exclude certain files from syncing based on a file mask. Examples:


Hi there,

Thanks very much for your feedback. At present, there are only a few file types that don't sync to your Dropbox account. See this Help Centre article for more information:

If there are other files you don't want to sync to your Dropbox, I'd just recommend storing them outside your Dropbox folder.

Hope this helps!

I have my iTunes folder in my Dropbox. It makes no sense to sync iTunes Library.xml since that isn't used by iTunes (it only uses iTunes Library.itl). But I am unable to configure Dropbox to simply ignore iTunes Library.xml.

You can "hack" file ignore by tricking Dropbox by first setting up a folder with the same name as the file you want to ignore. Check out the instructions here:

It'd still be nice to have this natively built in though.

Louis M.
Level 1

Yes, this would be a step closer to making Dropbox a genuine version control alternative.

Not synching certain filetypes isnt the same - omission of feature X doesnt mean feature Y included.

I'm no expert, but this feature is included in either the frontend, or as a loose text file in the same folder which just list the file types to ignore.

Does this feature exist already in the business version?

I work in games, and engines produce a lot of guff which is either useless or harmful to other users of the same folder. 'Fix the engine' is one option, but needless traffic produced by, for example the OS (for example, .tmp files as mentioned in the header) is prohibitive to users on limited bandwidth as well.

I like Dropbox. Being able to exclude the garbage would make me like it more slightly smiling face

Jake s.8
Level 1

There should be a way to regex match certain files and just ignore them in update. I though it is a great idea to sync my main work folder, but now various massive files that are trivial to regenerate gets synched and dropbox is constantly updating and chumming moving hundreds of megabytes around. There are hacks around that, but I'm just not very excited. It is a very basic functionality to have!

Hi Jake,

The Dropbox desktop client is designed to sync everything in your Dropbox folder. If you don't want it to sync something, just move it out of your Dropbox folder. Please bear in mind as well that we only actually upload unique files once, so if you move a large file elsewhere in your Dropbox, or move it out then back in again, all that will happen is that it will need to reindex in its new location, not be uploaded to our servers.

Hope this helps!

Jake s.8
Level 1

Come on guys, stop thinking small. Why shouldn't I be able to sync my entire home directory and be done with backups forever and have access to any one small pdf hidden somewhere in the attick on my disk from my phone without having to a a conscious effort to think what I might need? You can make this work on linux with a single soft link but then it also wants to sync huge temporary data files. I want file opt-out, not opt-in.

pep a.
Level 1

I need this feature too, AutoCAD for example creates .bak files (backup files) in the same directory of the source file, so Dropbox is uploading these .bak files all the time...

Lucas C.2
Level 1

I would also like this feature. I use SVN for most of my projects; however, for some smaller projects that I want backed up and/or synchronised between computers but don't need extensive versioning for, I use Dropbox.

I haven't found this to be much of an issue for Microsoft Visual Basic .NET and Xcode projects as although they have files that don't need to be synced, they're usually quite small (although they can cause a large number of events to be logged, making it harder to find things in Events). However, Visual C++ projects can often have hundreds of megabytes of files that don’t need to be synced.

I've also had similar issues due to other applications storing temporary or other regenerable files in the same directory as files they open which are in my Dropbox. Some programs may provide an option to store these files elsewhere but not all of them.

It would also be nice if this applied to all computers (and users in the case of a shared folder) rather than having to do it for each computer like Selective Sync.

Dave C. posted a workaround for excluding a single file using Selective Sync conflicts:

Yours sincerely,
Lucas Cardellini

this would be a great thing. for example firefox and thunderbird create a file named parent.lock which is necessary for normal the operation of firefox or thunderbird. dropbox isn't able to sync while those files exist. the files normally are deleted when ff or tb are closed and all processes are stopped. but in some reason they remain till reboot. there is no need for those files to be synced. there a mask for adding exclusions would be very helpful