[bug #61009] xargs need option to immediately stop on command fail

anonymous <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
Follow-up Comment #6, bug #61009 (project findutils):


[comment #5 comment #5:]
> Sorry, that had an obvious bug, here's a fix:
> 
> find . -type f \( -exec cp -t "${IMGDIR_DST}" {} + -o -quit \)

IMHO, this isn't _less_complex_ :-). There are:
- \( \)
- \+
- -o -quit

This is complex. There are more than one place where i can mistake.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61009>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.