Auto sync local files to remote

data synchronizationdevelopmentfile-transferftp

Are there any OSX tools that can watch for file changes in a directory then sync (SFTP) those changes to a remote server?

Basically I want to edit files locally (whatever files, whatever program) and have them automatically upload to the server.

Rsync can't watch a directory for changes on it's own, and I can't seem to get lyncd to run on osx, due to no inotify tool.

Any ideas?

Best Answer

I'm only aware of proprietary systems like DropBox.

But it seems like this could be done fairly easily, using kqueue to detect file changes, and running rsync a few seconds later.