Tuesday, February 5, 2008

find/exec in win32 (UnixUtils)

Using UnixUtils tools for win32, search for the word "tail" in all ruby files (*.rb)


find -name *.rb -exec grep -ai "tail" NIL {} ;

You can find more information on the find tool here

No comments:

Post a Comment