Bash 移除当前目录下的所有东西并计时

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))}'

你可能感兴趣的:(Bash 移除当前目录下的所有东西并计时)