Tag: bash

  • Archiving a large WordPress uploads folder

    Archiving a large WordPress uploads folder

    Whilst trying to create an archive (.tar.gz) of a WordPress site uploads folder I was hitting issues with the command getting cut off for various reasons (poor connection, SSH host disconnecting etc). I also found that as the archive grew larger it took longer and longer to add files to it, making it more likely […]

  • Copying theme options between Pantheon environments using WP CLI

    One of my tasks today was to activate a new child theme on a project. We’d already migrated the site to Pantheon (using their very straightforward migration plugin) and had activated the parent theme – in this case Newspack – to start playing around. The Problem My colleague Bart had completed initial work on the […]