Skip to content

Instantly share code, notes, and snippets.

@pbearne
Created October 15, 2014 14:03
Show Gist options
  • Save pbearne/605d09919ab454062e71 to your computer and use it in GitHub Desktop.
Save pbearne/605d09919ab454062e71 to your computer and use it in GitHub Desktop.
loop wp cli to make post per month
for i in {01,02,03,04,05,06,07,08,09,10,11,12}; do curl http://loripsum.net/api/5 | wp post generate --post_content --count=1 --post_date=2013-$i-1 --url=vvv.dev/path ;done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment