3 ms·
Instead of -exec rm {} \; you could use -delete option as well.
by lubomir 14y ago
Instead of -exec rm {} \; you could use -delete option as well.
- babarock 14y agoThis option is not portable at all. For instance, it won't work on Solaris' find. I strongly advise against the use of non portable options.
- exDM69 14y agoIt may be a good idea when writing scripts that have to be portable. But there's quite a lot of nice non-standard options in the GNU userspace tools, and it would be a shame not to use them when available.