3 ms·
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 ti
by Too 5y 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.