I have been keeping my vim files in Ubuntu One and since I have a lot of plugins installed as git submodules (or however vundle installs them) and I'm only interested in updating these repositories on my main computer, I had set Ubuntu One to ignore these files using:
ignore = \A.*\.git\Z
in ~/.config/ubuntuone/syncdaemon.conf
so it won't have to sync thousands of files. Now I'm trying to move these files to dropbox instead but I couldn't find an equivalent setting in dropbox.
So my question is, how can I tell dropbox to ignore files/folders with certain names (particularly the dot folders)?
Best Answer
On Linux Dropbox has a client (
dropbox
) and a deamon (dropboxd
).The client has the
exclude
command, which you can use to exclude directories. E.g. to exclude node_modules from Dropbox you can enterdropbox exclude add ./node_modules
dropbox help exclude
will print the help information: