wp-cli / media-command

Imports files as attachments, regenerates thumbnails, or lists registered image sizes.
MIT License
44 stars 41 forks source link

Add option to delete unknown image sizes #199

Closed swissspidy closed 5 months ago

swissspidy commented 6 months ago

With --delete-unknown, one can quickly remove files & image meta for image sizes that no longer exist, without having to regenerate other thumbnails or anything.

Fixes #198

Fixes #111 (or at least half of it?)