Bash script meant to take the tedium out of deploying and updating database-driven (eg Wordpress) websites. It rapidly synchronizes local and remote versions of a MySQL database, performs the necessary search and replace queries, then synchronizes all your uploads/binaries.
The script crashes at "Downloading remote databases" when
r_port
is set due to the double quotes around$scp_port
variable.