John,
  What you're looking for is the find program.  It has an xargs argument
that you can use to execute a command on each of the files that it finds.
Bob Rose