On Linux you can set attributes to ignore files for syncing.

To ignore a file on Linux:

attr -s com.dropbox.ignored -V 1 /path/to/file

To unignore a file on Linux:

attr -r com.dropbox.ignored /path/to/file