The BSD find(1)/xargs(1) also understand the extra switches. Your other version unfortunately still breaks on embedded newlines, which are the most important reason to use the switches. Absent of a way to make find(1) separate filenames with nulls (such as on Solaris), I'd rather fall back on -exec.
Makeshifts last the longest.
In reply to Re^3: Run system find -exec on remote machine
by Aristotle
in thread Run system find -exec on remote machine
by gaal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |