This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: find command in cygwin


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]