Skip to content

Instantly share code, notes, and snippets.

@vivianspencer
Created September 23, 2015 12:55
Show Gist options
  • Save vivianspencer/7befda19eb302b26aed0 to your computer and use it in GitHub Desktop.
Save vivianspencer/7befda19eb302b26aed0 to your computer and use it in GitHub Desktop.
Bulk generate WordPress posts using WP-CLI and the Bacon Ipsum API
for n in {1..5}; do curl 'https://baconipsum.com/api/?type=meat-and-filler&paras=5&format=html' | wp post generate --count=1 --post_content; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment