linux recursively delete file pattern code example Example: rm recursive file pattern find . -type f -name '*.o' -delete