bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: anonymous
Subject: [bug #61009] xargs need option to immediately stop on command fail
Date: Mon, 9 Aug 2021 05:44:58 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]