A way to parallelize curl call with xargs:
cat url.list | xargs -n 1 -P 15 -I % curl -so /dev/null -k -A curltestxargs %
-
https://links.infomee.fr/?b3ibmAJ'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
-
http://www.cyberciti.biz/faq/linux-unix-bsd-xargs-construct-argument-lists-utility/