Can I specify certain files for Dropbox to ignore?

7

2

I'd like to sync configuration folders for specific applications on my Linux machines, namely configuration for AutoKey (a text-expansion and keyboard-macro automation suite), which lives at ~/.config/autokey/.

Though I know that it's relatively simple to just symlink ~/Dropbox/Apps/AutoKey to ~/.config/autokey/, I'd specifically like to ignore certain files in the folder if possible. There are notably a log file and a PID file that I'd prefer to ignore.

Is there a way to specify configuration for Dropbox which will make it ignore these files, or even better, glob patterns? (e.g. Apps/AutoKey/*.log, Apps/AutoKey/*.pid, etc.)

Naftuli Kay

Posted 2014-03-20T22:27:02.743

Reputation: 8 389

Question was closed 2017-05-09T11:31:06.953

Answers

1

You can exclude folders with the help of the dropbox-cli (dropbox.py) exclude command found here, but I don't think you can exclude single files. I'd recommend the 'symlink individual files from that folder' approach.

darookee

Posted 2014-03-20T22:27:02.743

Reputation: 51

3They really need to enable this feature. Something similar to a .gitignore file or configuration passed in each directory's .dropbox file would go a long way. – Naftuli Kay – 2014-03-28T18:31:44.703