-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
skip existing and delete unregistred in WP cli ? #111
Comments
You mean these commands ? I can't get the --skip-delete function to remove old images though... I am not the only one I saw who reported it... See this topic. |
@Beee4life no this is something completely different Regeneration command is only for images that already exist. |
Then your original post is incorrect. You ask if it's possible to : "Skip regenerating existing correctly sized thumbnails" I think you need to undertake 2 actions: |
I'm not the OP, just having the 2nd issue too. But I guess I'll create a new card for my specific one |
sorry my bad, overlooked it. |
These are options of Regenerate Thumbnails plugin.
Unfortunately, WP-CLI doesn't have the second option. It would be ideal if it could be added. Meanwhile, an alternative with command line is to use the |
Hi is there a way to set up below commands with WP cli as well or is it set by default?
I couldn't find it anywhere.
-Skip regenerating existing correctly sized thumbnails (faster).
-Delete thumbnail files for old unregistered sizes in order to free up server space. This may result in broken images in your posts and pages.
Many thanks
The text was updated successfully, but these errors were encountered: