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)?
Best Answer
Starting early 2020 you can actually exclude files and directories from sync.
Under Linux the command is:
Under macOS the command is about same:
For the command under Windows see another answer, or: