ls -1 | xargs rm -f find . -name 'spam-*' | xargs rm find . -exec rm {} \; ls | xargs -n 10 rm -fr # 10个为一组
yes | rm -i file