Hacker News new | ask | show | jobs
by Too 1586 days ago
There are some tricks on Linux. For example using mv into a trash dir instead of rm. I’ve also seen some successful use of rsync that does real deletion many times faster than rm -rf, not sure why but guessing some parallelism is involved.

Google for this problem. There are surprisingly many creative ideas, many which also surprisingly are a lot better than the built in rm command.