17

I tried using Dropbox to sync my computer's code files, however it syncs everything. I want to be able to configure Dropbox not to sync folders with specific names like ".git" and/or "target" as target folders get generated automatically and gets huge as the development goes.

Is there a way to configure Dropbox to ignore some folders (auto generated or not)?

migrated from webapps.stackexchange.com Dec 16 '14 at 13:00

This question came from our site for power users of web applications.

6

Yes, this is called Selective Sync in Dropbox.

You can exclude specific folders being synced with DropBox.

In Windows 7 and Dropbox 3.1.265, you can:

  • click on Dropbox system tray icon
  • click on gear icon and select Preferences
  • click Account
  • click Selective Sync
  • Untick the folder you no longer wish to sync with Dropbox
  • Click OK

Be warned that Dropbox will delete that folder, so make sure to copy everything to another place before you do this and copy it back afterwards. (Thiago Duarte)

  • 5
    But be warned that Dropbox will delete that folder, so make sure to copy everything to another place before you do this and copy it back afterwards. Or just help us on this request for a better way to solve this dropboxforum.com/hc/communities/public/questions/… – Thiago Duarte Apr 7 '15 at 2:05
  • 9
    I think this is not what the user was asking for. He wants Dropbox to ignore specific folders inside his local Dropbox folder. By contrast, this Selective Sync simply allows to delete some local folders while keeping them only on your Dropbox account, "in the cloud." – Niavlys Mar 14 '18 at 8:08
  • @Niavlys You're certainly describing my problem. I've got a few pieces of junk that end up in my Dropbox folder due to a synchronization program on my computer--and they get backed up. – Loren Pechtel Mar 21 '18 at 13:22
  • @LorenPechtel You can ask Dropbox to exclude more files or file masks if you want: dropbox.com/help/syncing-uploads/files-not-syncing -- Some files are already excluded, maybe .git could be one of them. – Sun Mar 21 '18 at 22:45
4
  1. Copy those folders to another location which isn't synced with Dropbox.
  2. Use selective sync to unsync the original folders (Dropbox will delete them).
  3. Copy the backed up folders to the original location again (They will remain unsynced.)

Source: https://www.dropboxwiki.com/tips-and-tricks/exclude-folders-from-syncing

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.