Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: Shankar Unni Subject: Re: find command in cygwin Date: Fri, 29 Apr 2005 11:57:32 -0700 Lines: 17 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/0.7 In-Reply-To: X-IsSubscribed: yes 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/