xargs

From wikieduonline
(Redirected from Xargs -I)
Jump to navigation Jump to search

wikipedia:xargs (man)

Examples[edit]

echo 8.8.8.8 | xargs -t -n1  geoiplookup[1]
find | xargs -n1 xz -v

Concatenate lines:

echo "your text "| xargs -I {} osascript -e 'display notification "{}" sound name "submarine"
-I replace_string

Related terms[edit]

See also[edit]

  • https://unix.stackexchange.com/questions/300095/how-do-i-get-xargs-to-show-me-the-command-lines-its-generating-without-running
  • Advertising: