This is a script to update a WordPress blog with the latest stable version
from Subversion.
How to use:
-
Download
update-wordpress.sh.
-
chmod u+x path/to/update-wordpress.sh
-
path/to/update-wordpress.sh -fs ftp_server -wp
/path/to/WordPress/on/FTP -ms mysql_server
Some features:
-
Works with plain
/bin/sh
, so it should work on any Linux / BSD
distribution.
-
Flexible - There are input parameters for user names, passwords, and lots
more.
-
It will ask for FTP and MySQL passwords (-FP and -MP parameters) only if
these are not provided