This is basically the script I use. http://gist.github.com/47744 I also keep a bunch of plugins in my home directory and symlink them into the WP installs, which also reduces the maintenance.