From owner-freebsd-questions@FreeBSD.ORG Fri Nov 4 17:32:52 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 16F54106566C for ; Fri, 4 Nov 2011 17:32:52 +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 DFA548FC0A for ; Fri, 4 Nov 2011 17:32:51 +0000 (UTC) Received: from server.cwis.biz (localhost [127.0.0.1]) by server.cwis.biz (Postfix) with ESMTP id 3C43E278FF62; Fri, 4 Nov 2011 12:37:14 -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 JU1XZ6FruhoF; Fri, 4 Nov 2011 12:37:01 -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 7E0B9278FF60; Fri, 4 Nov 2011 12:37:01 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Ryan Coleman In-Reply-To: <0EE458C34045A44DBC2CA2DC5CEB42B5239647FE05@mercury.universe.galaxy.lcl> Date: Fri, 4 Nov 2011 12:32:37 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <3B4B42E9-6E69-4873-A333-13DCB8E9A842@d3photography.com> References: <0EE458C34045A44DBC2CA2DC5CEB42B5239647FE05@mercury.universe.galaxy.lcl> To: Graeme Dargie X-Mailer: Apple Mail (2.1251.1) Cc: "freebsd-questions@freebsd.org" Subject: Re: 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:32:52 -0000 Graeme, 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. -- Ryan On Nov 4, 2011, at 11:25 AM, Graeme Dargie wrote: > 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"