This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Cygwin 'find' does not support the '-L' predicate?
- From: Lee Rothstein <lee at veritech dot com>
- To: Cygwin eMail List <cygwin at Cygwin dot com>
- Date: Fri, 04 Sep 2009 23:50:01 -0400
- Subject: Cygwin 'find' does not support the '-L' predicate?
- Reply-to: lee at veritech dot com
Apparently there are these thingies (special type of options)
called predicates in 'find' that are specified before a path that
tell it to follow or not follow links, etc.
I think I need the '-L' predicate that says follow them thar
links. However, the following command line works until I add the
'-L' predicate.
The following works:
find "$PWD" -maxdepth 1 -type f -executable
but does not find executable files that are links
The following, which I assume (according to man and info) will
find executables that are links, does not work at all:
find -L "$PWD" -maxdepth 1 -type f -executable
Or, is this pilot error?
Lee
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple