Hi j.v.,
"pipeable"? That's new and as good a word as I can think of but it not sufficiently specific. In order to be "pipeable", at least on the receiving end, a utility must accept arguments from STDIN and that's not trivial. It's not difficult but aside from the work, it takes some planning to decide how to combine arguments coming from both the command line and STDIN.
Still, this is a fairly standard situation and chgrp can't be very well written. I checked, it definitely doesn't handle arguments from STDIN. However, chown does. Therefore, aside from Jeff's suggestion, you can use the pipe with chown, like:
find / -user {userName} | sudo chown :{newGroup}
That of course brings another point. Sudo doesn't apply escalated privileges to the entire pipe so it is necessary to apply sudo where it's needed. If both parts of the pipe have to run as root, you can use something like:
sudo bash -c "find / -user {userName} | sudo chown :{newGroup}"
Finally, if there are lots of files there's a chance of overloading the argument capacity of chown. In this case you would have to use chown with xargs. I don't suppose there much point in going into it; Jeff's solution is sounding pretty good about now, eh? Still, I wanted you to know the possibilities.
--
Gary
~~~~
The attacker must vanquish; the defender need only survive.