4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:xargs — newest first
  • Note: xargs parallel, example with curl

    A way to parallelize curl call with xargs:

    cat url.list | xargs -n 1 -P 15 -I % curl -so /dev/null -k -A curltestxargs %

    August 22, 2016 - permalink - https://links.infomee.fr/shaare/b3ibmA
    curl xargs
  • xargs: How To Control and Use Command Line Arguments

    J'utilise trop peu xargs, je me débrouille toujours autrement alors que parfois ce serait plus simple en l'utilisant.

    | xargs -I VAR cp VAR /tmp/VAR.copy

    I l 1

    c'est un "i" majuscule

    xargs -I % sh -c 'command1; command2; ...' < a.txt

    March 17, 2014 - permalink - http://www.cyberciti.biz/faq/linux-unix-bsd-xargs-construct-argument-lists-utility/
    xargs