Created
September 18, 2019 08:43
-
-
Save raphaelportmann/417db1f529c8f672e65dd7cbb2dc34a6 to your computer and use it in GitHub Desktop.
Remove all files with a specific extension
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
# Example with .webp images | |
# Test run without removal | |
find . -name "*.webp" -type f | |
# Delete files | |
find . -name "*.webp" -type f -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment