find command in cygwin

Shankar Unni shankarunni@netscape.net
Fri Apr 29 21:40:00 GMT 2005


lin q wrote:

> $ find . -type f -print
> find: paths must precede expression
> Usage: find [-H] [-L] [-P] [path...] [expression]
> 
>  Do you see anything wrong?
> 
> $ which find
> /usr/bin/find

This combo means that you have C:\Windows\System32 in your PATH 
environment before C:\cygwin\bin. Either flip these around, or in your 
.bashrc, prepend /usr/bin to the PATH.

If you had followed http://cygwin.com/problems.html , we might not have 
to read minds or use other psychic/telepathic access to debug this..


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list