X-Spam-Check-By: sourceware.org Date: Wed, 21 Jun 2006 12:26:31 +0300 From: root To: Subject: find dir -o does not work In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 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 - 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 - > 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/