递归删除文件
Linux递归删除文件命令
find . -name "*.log.*" -exec ls {} \;
find . -name "*.log.*" -exec rm -rf {} \;
windows下递归删除文件
dir /s *.log
del /s *.log
linux下面
find . -name "*.c" -exec ls {} \;
find . -name "*.c" -exec rm -rf {} \;
find . -name "*.h" -exec rm -rf {} \;
find . -name "*.lo" -exec rm -rf {} \;
find . -name "Makefile*" -exec rm -rf {} \;