From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18375 invoked by alias); 12 Feb 2014 00:12:10 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18419 Received: (qmail 16686 invoked from network); 12 Feb 2014 00:11:50 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=SQwEr78YnT+2i9NQ6zuD9Ct1XXAKeFxfKK5R15BixCo=; b=H34Jp0znpGBDAdysIdrAswt3odMu7i0GpUrve9X1zX3BXKXy9/S+y6V1cUfmzbh59E ncnOsusp7d7F4pQCQksR3BNu7pZOqVdahM/ADtwJBaLifPTcrJGn+R+SSG5MyMEFV5kV M36LGU1piGf+WCfYuH4YAsr039S3ODx128qAKzSoHkU17Lb+pyA4OSszlAi9YL/tNWhg EGaQ3vcKH9tH4R19C7YnbCZSHeQMXf18WHC2Bw1lbxtP0/WkmlGHb3z/a+cRNrs5qq6s wBmYZSzTNc6PopjNrKtvn8fwzglnrfYZSieRtA3/kCKImgDhDn/i//EvMRnx9PXhA1Xf YLIA== X-Received: by 10.224.89.4 with SMTP id c4mr62924701qam.64.1392163906713; Tue, 11 Feb 2014 16:11:46 -0800 (PST) MIME-Version: 1.0 From: Leonardo Barbosa Date: Tue, 11 Feb 2014 22:11:04 -0200 Message-ID: Subject: executing commands in directories containing specific files To: zsh-users@zsh.org Content-Type: multipart/alternative; boundary=001a11c3d0fc21010304f22a6b52 --001a11c3d0fc21010304f22a6b52 Content-Type: text/plain; charset=ISO-8859-1 All, I'd like to find TeX files (find $HOME -type f -name '*.tex'). Let's say i have found files a.tex, b.tex, and c.tex. Now, i wanna remove a.aux, b.aux, c.aux. What's the best way of doing that? Cheers --001a11c3d0fc21010304f22a6b52--