Recursive Delete in Linux and OSX

find . -name "*.bak" -type f -delete

But use it with precaution. Run first:

find . -name "*.bak" -type f

Leave a Reply

Your email address will not be published. Required fields are marked *