From owner-freebsd-questions@FreeBSD.ORG Fri Nov 4 17:45:43 2011 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 A03FF1065674 for ; Fri, 4 Nov 2011 17:45:43 +0000 (UTC) (envelope-from editor@d3photography.com) Received: from server.cwis.biz (70-89-202-5-invergrove-mn.hfc.comcastbusiness.net [70.89.202.5]) by mx1.freebsd.org (Postfix) with ESMTP id 608E08FC1A for ; Fri, 4 Nov 2011 17:45:43 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id A9E0F278FF65 for ; Fri, 4 Nov 2011 12:50:05 -0500 (CDT) X-Virus-Scanned: amavisd-new at cwis.biz Received: from server.cwis.biz ([127.0.0.1]) by server.cwis.biz (server.cwis.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Y33rhH5pxkM for ; Fri, 4 Nov 2011 12:49:48 -0500 (CDT) Received: from [192.168.46.167] (173-160-104-249-Minnesota.hfc.comcastbusiness.net [173.160.104.249]) by server.cwis.biz (Postfix) with ESMTPSA id A96A9278FF64 for ; Fri, 4 Nov 2011 12:49:48 -0500 (CDT) From: Ryan Coleman Date: Fri, 4 Nov 2011 12:45:24 -0500 References: To: "freebsd-questions@freebsd.org Questions" Message-Id: <7ABED5D1-DD21-4399-88AF-7E824091ACCA@d3photography.com> Mime-Version: 1.0 (Apple Message framework v1251.1) X-Mailer: Apple Mail (2.1251.1) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Fwd: removing directories 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: Fri, 04 Nov 2011 17:45:43 -0000 Begin forwarded message: > From: Michael Sierchio > Subject: Re: removing directories > Date: November 4, 2011 12:35:05 PM CDT > To: Ryan Coleman >=20 > man find >=20 > you can search on name (or extension) or size, or... >=20 > (assuming by pages you mean HTML or some such, and by thumbnails you > mean small images. >=20 > On Fri, Nov 4, 2011 at 10:32 AM, Ryan Coleman = wrote: >> Graeme, >>=20 >> I don't have the answer, but I wanted to tell you it's not a n00b = question at all: The solution is a fairly complex (IMO) series of greps = and awks. Ones that I don't have the knowledge to do - and I am = definitely not a n00b. >>=20 >> -- >> Ryan >>=20 >> On Nov 4, 2011, at 11:25 AM, Graeme Dargie wrote: >>=20 >>> Ok this might be a bit of a newbie question but here goes. >>>=20 >>> I have a large number of directories around 300 which all have sub = dirs, some of those have sub dirs in each of these there are two further = sub dirs called pages and thumbnails, is there an easy way to remove all = the pages and thumbnail dirs from the tree? >>>=20 >>> Regards >>>=20 >>> G >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" >>=20 >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" >>=20