delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/11/19:52:20

X-Spam-Check-By: sourceware.org
Message-ID: <3528.68.202.41.205.1155340325.squirrel@www.rhythmicharmony.com>
Date: Fri, 11 Aug 2006 19:52:05 -0400 (EDT)
Subject: Problems with "find" 4.2.27
From: dance AT rhythmicharmony DOT com
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.4.4
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I've been having problems with "find", and it's hard to search the entire
mailing list for "find" since it's such a common word.  I don't know what
cygwin package "find" comes in, so I can't search for that.  I don't know
if this problem is known or not.  Please forgive me if I'm lost, but a
little advice could help.

I discovered I was having problems with "find" maybe a month ago.  I tried
upgrading packages, but I still had the problem.  Here's a sample of what
I'm trying to do.

I merely wanted "find" to give me a list of files.  I have cut out long
lists of files, choosing only to include the first and last file in any
long lists, with and ellipsis in its place.

**
$ find //192.168.200.9/public/music\ videos/

//192.168.200.9/public/music videos/
//192.168.200.9/public/music videos/poor quality
//192.168.200.9/public/music videos/poor quality/05  Queen - Bohemian
Rhapsody [1975].mpg
(...)_
//192.168.200.9/public/music videos/poor quality/29  Michael Jackson -
Billie Jean [1983].mpg
//192.168.200.9/public/music videos/modern
//192.168.200.9/public/music videos/modern/50 Cent - In Da Club.mpg
(...)
//192.168.200.9/public/music videos/modern/White Stripes - Seven Nation
Army.mpg
//192.168.200.9/public/music videos/80s
//192.168.200.9/public/music videos/80s/A Flock Of Seagulls - I Ran (So
Far Away).mpg
(...)
//192.168.200.9/public/music videos/80s/ZZ Top - Sharp Dressed Man.mpg
//192.168.200.9/public/music videos/Layer Break - Layer Break.mpg
//192.168.200.9/public/music videos/low quality videos
//192.168.200.9/public/music videos/low quality videos/Fatboy Slim Weapon
of Choice svcd.m2v.mpg
(...)
//192.168.200.9/public/music videos/low quality videos/Weird Al Yankovic -
Fat(1).mpg
//192.168.200.9/public/music videos/custom
//192.168.200.9/public/music videos/custom/Blazing Saddles - Count Basie.mpg
(...)
//192.168.200.9/public/music videos/custom/School House Rock - Conjunction
Junction.mpg
//192.168.200.9/public/music videos/90s
//192.168.200.9/public/music videos/90s/10,000 Maniacs - Because The
Night.mpg
(...)
//192.168.200.9/public/music videos/90s/Paula Cole - Where Have All The
Cowboys Gone.mpg
//192.168.200.9/public/music videos/90s/no
//192.168.200.9/public/music videos/90s/Quad City DJ's - C'mon Ride It
(The Train).mpg
(...)
//192.168.200.9/public/music videos/90s/Will Smith - Miami.mpg
//192.168.200.9/public/music videos/70s
**

You'll notice that it showed a directory named 90s/no and a directory
named 70s with no files in them.

**
$ find //192.168.200.9/public/music\ videos/ -type d

//192.168.200.9/public/music videos/
//192.168.200.9/public/music videos/poor quality
//192.168.200.9/public/music videos/modern
//192.168.200.9/public/music videos/80s
//192.168.200.9/public/music videos/low quality videos
//192.168.200.9/public/music videos/custom
//192.168.200.9/public/music videos/90s
//192.168.200.9/public/music videos/90s/no
//192.168.200.9/public/music videos/70s
**

If I specifically "ls" the directories, I see hundreds of files.

**
$ ls //192.168.200.9/public/music\ videos/90s/no/
2 Unlimited - Tribal Dance (intro).mpg
(...)
Wreckx-N-Effect - Rump Shaker.mpg

$ ls //192.168.200.9/public/music\ videos/70s

10cc - Things We Do For Love.mpg
(...)
Yvonne Elliman - If I Can't Have You.mpg
**

So find is aborting during a search and giving no errors.  I thought this
might be a random occurence but I discovered it again today.  The version
is

GNU find version 4.2.27
Features enabled: LEAF_OPTIMISATION

If I try the same command from my Fedora 5 box, it complains that
//192.168.200.9/public isn't a valid directory.  If I mount the network
drive, and perform the find, it finds all the videos fine.

If I mount the network on my windows XP machine, and use the cygwin find
on the mounted drive, it has the same problem.

Anyone else discovered this?

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019