this handy script lets you automatically rsync your subdir to the raspberry pi's project dir (as specified by $RPI_SRC) and ssh's an interactive session with the supplied command line argument.

It's basically a 'run python script on the raspberry pi' script.