I had this very surprising situation recently, while trying to delete folders containing many files (think code repo checkout with some 10 thousands files):
When I tried to do this via command line as I normally would with
rm -rfI waited for quite a while (say a minute?) without it finishing...
On the other hand, when deleting folders of the same size in nautilus file browser, the delete was instantaneous - and not only so in the GUI, but the folder was also gone in the FS, as a
lson the terminal showed me.
So how can this be? Doesn't nautilus just execute 'normal'
rm? Or is it equipped with some way of dealing with large tasks in the background?