X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=gr6 4cZgDF8ILjo+ZkJ+kcS4MGcmTzpIq1vuJs+J9Hgcl0NfuKoFELxCUqzppELDpRlL 8plVO+Riub9qZ5dir2a6o+/Bea8k/k8aA/4faBX3nOHmXIEyfB3uHX4s6FcslBog ks+P5cR+9v19u097DxbRhluB65XWO/MPqRfPPRBw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=Ymnf63ggN V2usl6wGQq6bIMcE6E=; b=MX5V/fQ9wYQhrbYvKepMtZNcD5CtyEPtkTMTluFej NZLaOge26RhnEU64ypzMEL4QoQor7UocUQpgZokzGD7B0YtCD7TFEsSE7iwEDakS bWJ/FrCT5G3X4ffoN5DlJSStFSFwtRiUJhbRd7H+R1KMvBLeLfwZgf++KCxn5RyS Kg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_MED,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 X-IronPortListener: Outbound_SMTP X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AscEAFYBlFGcKEex/2dsb2JhbABbxBeBE20HgiEBBBIoUQEqFC8TJgEEGxqHapxNhFabbI5tgyxhA44hmlCDEIIn From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" To: "cygwin AT cygwin DOT com" Subject: Strange problem with find and directories Date: Wed, 15 May 2013 21:46:19 +0000 Message-ID: <5F8AAC04F9616747BC4CC0E803D5907D0AF7ABC6@MLBXv04.nih.gov> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r4FLkghu029871 Hello, I'm using 32-bit Cygwin 1.7.18. The problem I'm seeing can be replayed with this sequence of commands: -- begin -- $ mkdir dir $ ls -d dir dir $ find . -type d -name dir -print ./dir $ find . -type d -name dir -exec rm -rf {} \; find: './dir': Not a directory -- end -- The same at either Windows-native drive (/cygwin/c/...) or a Cygwin mount (such as /home/$USER). BTW, dir is actually gone, but what was the fuss about? Thanks, Anton Lavrentiev Contractor NIH/NLM/NCBI -- 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