I have a folder with 266778 subfolders. How can I delete it?
I have tried
cd ~/.local/share/Trash/ sudo rm -rf *
but it takes much time. After 1 minute 25 seconds real time and 0.072 seconds user time it only deleted 2500 folders. This way, it will take over two hours to delete this folder.
Is there a faster way to delete this folder? Why is there such a big difference between user time and real time?
real 1m25.474s user 0m0.072s sys 0m28.142s
I use Linux 2.6.32 (Ubuntu 10.04.4 LTS).