What's xargs?
xargs (short for "extended arguments" [1]) is a command on Unix and most Unix-like operating systems used to build and execute commands from standard input. It converts input from standard input into arguments to a command.
Some commands such as grep and awk can take input either as command-line arguments or from the standard input. However, others such as cp and echo can only take input as arguments, which is why xargs is necessary.
https://en.wikipedia.org/wiki/XargsWindows xargs clone: PPX2
https://github.com/ghuls/ppx2Some examples of usage :
Calculating the MD5 hash of a group of files under a folder :
dir /b /s /a-d D:\Folder | ppx2.exe -L 1 md5sum.exe "{}" > md5.txt
.mpg convertion :
dir /b *.mpg | ppx2 -P 4 -L 1 ffmpeg.exe -i "{}" -quality:v 1 "{}.mp4"
Attached is the project built with PellesC v11