Created
June 3, 2022 17:50
-
-
Save lukecav/b9d417c934af66d35a402634871892ca to your computer and use it in GitHub Desktop.
Find and delete all WebP images in the uploads folder of WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd public_html | |
cd wp-content/uploads | |
find . -name "*.webp" -type f | |
find . -name "*.webp" -type f -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://wordpress.org/support/topic/delete-all-webp-images-from-uploads-directory/