linux 删除当前目录以及子目录的所有log的shell命令

find -type f -name “*.log”|xargs rm -rf “*.log”

Comments are closed.

Post Navigation