From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2874 invoked from network); 16 Jun 2006 16:25:40 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 16 Jun 2006 16:25:40 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 46290 invoked from network); 16 Jun 2006 16:25:35 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 16 Jun 2006 16:25:35 -0000 Received: (qmail 18371 invoked by alias); 16 Jun 2006 16:25:26 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10386 Received: (qmail 18361 invoked from network); 16 Jun 2006 16:25:26 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 16 Jun 2006 16:25:26 -0000 Received: (qmail 45032 invoked from network); 16 Jun 2006 16:25:26 -0000 Received: from executive1.caltanet.it (HELO mbox1-executive.caltanet.it) (217.220.29.57) by a.mx.sunsite.dk with SMTP; 16 Jun 2006 16:25:25 -0000 Received: from localhost (localhost [127.0.0.1]) by mbox1-executive.caltanet.it (Postfix) with ESMTP id BFF0D2CA44 for ; Fri, 16 Jun 2006 18:25:19 +0200 (CEST) Received: from [10.0.0.28] (golia.caltanet.it [217.220.29.251]) by mbox1-executive.caltanet.it (Postfix) with ESMTP id 4592E2C87F for ; Fri, 16 Jun 2006 18:25:19 +0200 (CEST) Message-ID: <4492DB33.9030901@freaknet.org> Date: Fri, 16 Jun 2006 18:24:19 +0200 From: sand User-Agent: Thunderbird 1.5.0.4 (X11/20060516) MIME-Version: 1.0 To: zsh-users@sunsite.dk Subject: Re: replace all versions of a file in hierachy with a more recent version References: <200606161249.k5GCnXdp009969@news01.csr.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by Caltanet.it zzapper wrote: > find . -name SQLyogTunnel.php -exec \cp c:/aaa/replace/SQLyogTunnel.php {} > \; You can still do it without find: for f in **/SQLyogTunnel.php; do cp c:/aaa/replace/SQLyogTunnel.php $f done (I don't know how paths are handled under windows...) sand -- Hi, I'm a .signature virus! Copy me to your .signature file and help me propagate, thanks!