Avoid the -r flag to xargs, it doesn't work on OSX.