How can I 'filter' the content of a file on the filesystem?

I'd like to make it so that when I'm running or (executables used by Google AppEngine), they saw my source files with the API keys and other sensitive data they need to contain in order to run, but I'd like to avoid including that information in my git repo.

Right now I have a script that uses the watchdog python library to watch for filesystem changes, pick up the file that changed, process it, and copy it to the directory where I'm running or, but this feels really klunky. Is there a better way to do this?

Ideally, the solution would work on both linux and Mac OS X, and ideally, it wouldn't involve FUSE, though if that's really the way to do it, I guess I'll have to learn it.


Add a file to your git repo called that contains a list of necessary keys. Something like:


Then copy it to and fill in the keys. Do not add to your git repo. Add to .gitignore.

Need Your Help

problems with my submit

php html mysqli

I'm using multiple forms to select what to update. only my last form disappears after submitting. I don't think it even processes the update it should do on submit.