Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 29011 invoked from network); 18 Oct 2006 21:25:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Oct 2006 21:25:47 -0000 Received: (qmail 81292 invoked by uid 500); 18 Oct 2006 21:25:42 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 81254 invoked by uid 500); 18 Oct 2006 21:25:42 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 81243 invoked by uid 99); 18 Oct 2006 21:25:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Oct 2006 14:25:42 -0700 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [206.190.49.174] (HELO web54604.mail.yahoo.com) (206.190.49.174) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 18 Oct 2006 14:25:41 -0700 Received: (qmail 85053 invoked by uid 60001); 18 Oct 2006 21:25:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=AYODuINnASZ9M7Q3MFx6FtKeeF3GKuQ+m1CGrYWCXow3OQahipvncXwOBTEcvHowcvtpbcwlZQVT+5MNGFjD0U8qDpHja/dAfFIPf/WQw1HjFVDHqFuWn5Yp53xkcF1J4RfYm3tEpjvEJtfVHF5Cd34YyuzseGnb1m1Nqsol0TE= ; Message-ID: <20061018212520.85051.qmail@web54604.mail.yahoo.com> Received: from [204.152.239.217] by web54604.mail.yahoo.com via HTTP; Wed, 18 Oct 2006 14:25:20 PDT Date: Wed, 18 Oct 2006 14:25:20 -0700 (PDT) From: "Sean \(Xuong\) Phu" Subject: Delete Directory Matching A Pattern To: 'Ant Users List' MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Is there a way to delete a set of directories and subdirectories matching a pattern? For example, I want to delete "blah1234" and "blahabcdefg" since they both begins with "blah". I tried to use the following to delete any directory named with "blah*", but it didn't work. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org