purge: find . -name "*.class" -type f -delete # Windows Command Powershell: purge_windows: powershell -Command "Get-ChildItem -Recurse -Include *.class,*.log,*.tmp,*~ | Remove-Item -Force" # Linux Command purge_linux: find . -name "*.class" -type f -delete