I work on different computers, running Windows, Linux and MacOS. I am compiling C++ programs on each computer, from the same source. There is no use syncing compiled objects and executables across different operating systems, but I would prefer that compiled files be in the same directory (for instance, called Objects or Executables), but I do not want to sync them, otherwise compiling on one computer will overwrite the files from another. Therefore, I want to select certain directories as being non-syncable. There are too many of these for me to want to do this by hand (particularly having to do it repeatedly on different computers) so I wondering of there is a way of doing this by a command line, which I can then put in a script, with commands something like:
dropbox_config -sync=False A/B/Objects
(what I am looking for here is some sort of command, like the command dropbox_config that I invented here)
Then I can generate and run a script to do them all at once. A script that will run on Windows (perhaps in a Ubuntu shell), or on Linux, MacOs, or all of these would be good.