Skip to content

Instantly share code, notes, and snippets.

View kingkero's full-sized avatar
🐒

Martin Rehberger kingkero

🐒
View GitHub Profile
@kingkero
kingkero / update.sh
Created August 8, 2017 11:40
backup WP, then update all via WP-CLI
#!/bin/sh
# MNKY lab's custom backup script
# author: Martin Rehberger <martin@mnkylab.com>
# author uri: https://mnkylab.com
# license: GPL v3 or later
# license uri: https://www.gnu.org/licenses/gpl.html
### variables
WPCLI=/home/www/.../files/wp-cli.phar
EXPORTPATH=~/html/backups/