Re:A small primer on xargs
by lubomir on Monday May 14, 2012 @04:37AM
(#3970049)
Instead of -exec rm {} \; you could use -delete option as well.
[ Parent
| on HN ]
This 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.
It 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.