How to recursively remove files with a specific extension in bash 11/12/2023 1 min read #!/bin/bash find . -type f -name "*.[fileextension]" -exec rm {} \; # bash # linux # cli