Quickly remove a folder contents [closed]

view story

http://serverfault.com – Possible Duplicate: rm on a directory with millions of files I am trying to remove the folder that has more than half a million small files. # ls -lht | wc -l 570841 # cd .. # time rm -rf collected/ It is taking too long to remove all the files. Is there a better way to remove this folder? update: The process is finally complete. But I will like to keep this question open to know better way to remove folder. (HowTos)