10 Matching Annotations
  1. Feb 2024
  2. Jun 2023
  3. Sep 2021
  4. Dec 2020
    1. Here we used two xargs commands. The first one builds a custom command line, using as input the output of the previous command in the pipe (being pidof sleep) and the second xargs command executes that generated, custom-per-input (important!), command.

      xargs | xargs

  5. Aug 2020
    1. The easiest way to do what the original poster wants is to change the delimiter from any whitespace to just the end-of-line character like this: find whatever ... | xargs -d "\n" cp -t /var/tmp
  6. Apr 2020