Using 'find' and 'grep' (and 'sed' to take care of filenames with spaces)
Mac OS X 10.4 users can use mdfind, the command line counterpart to Spotlight.
Use the '-live' switch to monitor the results of this search in real time.
ignore binary files
whole word matches
Show the file name, line number, and the line - not pretty, but useful
Find and Replace strings within a batch of files
Or, to change files in a nested folder structyre:
ALWAYS DOUBLE-CHECK FIRST, ESPECIALLY WHEN USING ANY SPECIAL CHARACTERS! YOU COULD EASILY DO YOURSELF A LOT OF DAMAGE!!
Search The Site: