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