If you are on a unix system you might try a combo of find, xargs and your one liner. I would look into using the File::Find module and writing a slightly longer script instead of a one liner.
-enlil
Comment on Re: search and replace recursive directories modifier inquiry