I have several OS X keyboard shortcuts, that I have to copy between machines. For most other things, e.g. dock contents, I have scripts to automate setup on a new mac. I'd like to do the same with keyboard shortcuts.
Is there a way to create keyboard shortcuts via the command line, or by editing a preferences file somewhere?