# man xargs # ... # -n number Set the maximum number of arguments taken from standard input for each invocation of utility. # # ... # # -t Echo the command to be executed to standard error immediately before it is executed. # # ... # $ find . -name "*.sh" | xargs -tn 1 bash bash ./bar.sh bash ./foo.sh
うっかり変なディレクトリで叩くと破滅する。