I copied some files to my server; Then I ran:

wp media import *.jpg

Then in wordpress > media-library, there are 10 different sizes for each file, EACH size has its own entry in the media library.

e.g. I uploaded 5 JPGs, and now in the media library there are 50 new images.

  • How do I disable this replication?
  • Is there a switch to disable that?
  • is it a bug in WP cli? or in WP ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.