cd /var/tmp/ find . -name "*.log"|xargs rm -rf "*.log" 轉載于:https://www.cnblogs.com/walter371/p/4389107.html