WordPress Developer & Linux Administrator

December 11th, 2014

Bash script to upgrade Wordpress

This bash shell script will accept input, confirming that you first have a valid WordPress backup file on hand. Once you’ve answered with a Y (indicating “yes”), the script will let you proceed to updating the WordPress core. The bash script pulls the newest version of WordPress from the official WordPress repository and places everything where it should be.

Continue Reading

Bash script to backup Wordpress

This bash script will accept input and guide you through what it does, but in short, it checks to see if the backup directory specified is set, if not creates it. It will then ask you whether you want one of the following types of backup:

database
files
both

Continue Reading