WP CLI Batch Import

Sometimes you may receive your WordPress export XML files broken up into chunks.  When this happens, it can be cumbersome to import each file one-by-one.  Instead, try throwing everything into a sub-folder and running the following shell script:

[gist]https://gist.github.com/stevenkword/39ec1097baf75527cda1[/gist]

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *