Bash 移除当前目录下的所有东西并计时
2018-04-02 本文已影响0人
lucientlau
Remove all the file in current fold
time rm -f *
time find ./ -type f -exec rm {} \; # more flexiable
time find ./ -type f -delete # more fast than the previouse two
time perl -e 'for(<*>){((state)[9]<(unlink))}'