Occasionally, I need to add files to one of my WordPress sites that are larger than the maximum upload size that is set on the server. I could, of course, go and raise this, but I don’t want to do that for the odd occasion it is needed.
Just uploading a file to the wp-content folder via sFTP isn’t enough as you also need to tell WordPress that the file is there. Enter WP-CLI.
Setting up WP-CLI
WP-CLI allows you to carry out WordPress admin instructions, but from the command line rather than the usual browser interface. We’re only … Read the rest









