Instantly share code, notes, and snippets.

Embed
What would you like to do?
# find
find -name '* SOME_SPECIFIER.SOME_EXTENSION'
# find and delete
find -name '* SOME_SPECIFIER.SOME_EXTENSION' -delete
# example 1: delete all files to end in `"space"1.JPG`
find -name '* 1.JPG' -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment