Cygwin 'find' does not support the '-L' predicate?

Lee Rothstein lee@veritech.com
Sat Sep 5 03:50:00 GMT 2009


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



More information about the Cygwin mailing list