macos terminal delete all files with no extensiojn code example Example: remove all files with no extention rm find . -type f ! -name "*.*" -delete