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]

find dir <expr1> -o <expr2> does not work


Hi,
I posted my request for help, but the client i used truncated the message.
I post it again for your attention.
By the way
find common -type f -o -type l -print  does not works either.
I think the -o flag  is returning false.

I am trying to make a tar with files that are in a directory and checks
some condition
The problem i encountered is next :
find common  -type f   give the following output. (which is good)

common/VERSION
common/gui/svcConsole/src/com/ibm/storage/svc/console/rcmap/RcMapCreateOptionsStep.java


find common -type f -o -type l
(get nothing here )

find common -type f -o
common
common/gui
common/gui/svcConsole
common/gui/svcConsole/src
common/gui/svcConsole/src/com
common/gui/svcConsole/src/com/ibm
common/gui/svcConsole/src/com/ibm/storage
common/gui/svcConsole/src/com/ibm/storage/svc
common/gui/svcConsole/src/com/ibm/storage/svc/console
common/gui/svcConsole/src/com/ibm/storage/svc/console/rcmap
find common -type f -o -type f
(nothing)
It seems that  "find common -type f -o -<exprs>
returns nothing.
I'm using winXP. On linux same comand works fine...
Thanks for your time.
cristi petrisor




On Wed, 21 Jun 2006, cristi petrisor wrote:

> I am trying to make a tar with files that are in a directory and checks
> some condition
> The problem i encountered is next :
> find common  -type f   give the following output. (which is good)
>
> common/VERSION
> common/gui/svcConsole/src/com/ibm/storage/svc/console/rcmap/RcMapCreateOptionsStep.java
>
> find common -type f -o -type l
> (get nothing here )
>
> find common -type f -o
> common
> common/gui
> common/gui/svcConsole
> common/gui/svcConsole/src
> common/gui/svcConsole/src/com
> common/gui/svcConsole/src/com/ibm
> common/gui/svcConsole/src/com/ibm/storage
> common/gui/svcConsole/src/com/ibm/storage/svc
> common/gui/svcConsole/src/com/ibm/storage/svc/console
> common/gui/svcConsole/src/com/ibm/storage/svc/console/rcmap
>
> find common -type f -o -type f
> (nothing)
> It seems that  "find common -type f -o -<exprs>
> returns nothing.
> I'm using winXP. On linux same comand works fine...
> Thanks for your time.
> cristi petrisor
>
>
>




--
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]