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]

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


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


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