I\'m just looking for an easy way to divide a number (or provide other math functions). Let\'s say I have the following command:
find . -name \'*.mp4\' | wc -l <
find . -name '*.mp4' | wc -l | xargs -I{} expr {} / 2
Best used if you have multiple outputs you'd like to pipe through xargs. Use{} as a placeholder for the expression term.
xargs
{}