xargs
TextPackage: findutils
Builds and runs a command from what it reads on standard input. With find -print0 | xargs -0, file names containing spaces stop being split in two.
What its options do in the lessons
From the same glossary the lessons render under their commands, so the two cannot disagree.
xargs -I- Chooses the placeholder replaced by each line read (
-I{}), so the argument can go somewhere other than the end. xargs -r- Runs nothing when the input is empty. Without it, an empty list still runs the command, on nothing.
