Sysadmin > UtilitIes > XarGs

xargs

find . -name "*.flac" | xargs file

xargs: unterminated quote

find . -name "*.flac" -print0 | xargs -0 file

The -print0 argument tells find to use the NULL character to terminate each name that it prints out. The -0 argument tells xargs that its input tokens are NULL-terminated.

ls -d -0730 | xargs -n1 -I {} sh -c "grep 'Nmap scan report for ' {}/10 | wc -l "