Working with a multisite, the structure of the uploads folder in wp-content is
`wp-content/uploads/sites/_site_number_/_date_ like this:

However, when using media regen, it only finds the images in 2016 in upload and ignores the other 5000 images in the multisite install.
Can we define where this should be point at to regen?
Can we define where this should be point at to regen?
wp media regenerate only applies to an individual site on the WordPress multisite instance.
To designate which site you'd like to run wp media regenerate against, you can use the --url=<url> param.
Fantastic, running wp media regenerate -url='http://demo.dev/deepthought worked exactly how it should. Only 5000 images remaining!
Actually it's --url=
wp media regenerate --url='http://demo.dev/deepthought
Most helpful comment
Actually it's --url=
wp media regenerate --url='http://demo.dev/deepthought