I have the full gnuwin32 installation on my Win7 box. From the shell (cmd.exe), I can execute
c:\gnuwin32\bin\find.exe .
from a directory and get a list of all the files recursively. What I am trying to do is find all files with filenames ending in .rej. I would expect one of these to work:
c:\gnuwin32\bin\find.exe . -name "*.rej"
c:\gnuwin32\bin\find.exe . -name '*.rej'
but the first one only gives me one result (in the working directory), and the second gives me no results. In contrast,
ls -R | grep rej$
gives me many, many results ending in .rej. What am I missing?