From owner-freebsd-questions@FreeBSD.ORG Mon Nov 8 06:40:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45341106566C for ; Mon, 8 Nov 2010 06:40:34 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id CB09D8FC17 for ; Mon, 8 Nov 2010 06:40:33 +0000 (UTC) Received: by fxm17 with SMTP id 17so4009107fxm.13 for ; Sun, 07 Nov 2010 22:40:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=SWcoh2pLXYCxRVF9R0KHdS1S4OCmvam+KgLWmp7Mllw=; b=Ms8fhEkYXDkFPHqy4c5wcsZszJXsu0AotxH1FlF9H/B5fg8ahmTeWUp+cqZw6Z6YEA EIxux8IoQ2etquVWhHdfyRhhd/ArrM/az+JQLb5YYN+qXYPATSjy5sOBMsAhb7keN/cQ pMzMHUmeJ2JuD4vmLGXEVq+i2yP5KOKSxyueU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hnYjv46k6Lhhpys/XSZqdfNVlZJ9KOaYawFLfIDTtYPoT4PS1c9HWrWlas0kEb8WRp SV+xlaQD90SuHvWSye/Iy+ziisVbtUjeoX886dn14+j/PwhOWqSLmqb49NjfOluSdS2q CR+BbXhstcufLMOALHUKcsRwZoF5QL4FdALn0= MIME-Version: 1.0 Received: by 10.223.83.196 with SMTP id g4mr3443701fal.63.1289198432661; Sun, 07 Nov 2010 22:40:32 -0800 (PST) Received: by 10.223.121.138 with HTTP; Sun, 7 Nov 2010 22:40:32 -0800 (PST) In-Reply-To: References: Date: Mon, 8 Nov 2010 00:40:32 -0600 Message-ID: From: Adam Vande More To: yoganjaneyulu kasetti Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: removing files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 06:40:34 -0000 On Mon, Nov 8, 2010 at 12:10 AM, yoganjaneyulu kasetti < y.emailalerts@gmail.com> wrote: > I have some files with the extension of ".chk" extension along with the > extension of ".log" and ".gjf" extension in the folder called different > *input > folders. *I wanted to delete the ".chk" file extension having files. If i > go > to individual input folder manually i can delete the file with *rm* command > line by but i would like to delete all the ".chk" files extension files at > a > time through scripting rather than manual. So please some one help me for > the same. > /student/sweety/gaussiandata/*1249624064640*/input > > /student/sweety/gaussiandata/*1261202703914*/input > > /student/sweety/gaussiandata/*1263357080155*/input > > /student/sweety/gaussiandata/*1289106407303*/input > man find search for -delete -- Adam Vande More