Created
August 11, 2016 15:10
-
-
Save codenameEli/473bd9b98486e797644b6e5ffc964fc8 to your computer and use it in GitHub Desktop.
Finds all WordPress created images in the current directory and deletes them
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
find -E . -iregex '.*-([0-9])+x+([0-9])+.(jpg|png|gif)' -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment