How to recurcively remove files with a specific extension in bash

#bash #linux #cli

#!/bin/bash

find . -type f -name "*.[fileextension]" -exec rm {} \;