Fwd: removing directories

Ryan Coleman editor at d3photography.com
Fri Nov 4 17:45:43 UTC 2011



Begin forwarded message:

> From: Michael Sierchio <kudzu at tenebras.com>
> Subject: Re: removing directories
> Date: November 4, 2011 12:35:05 PM CDT
> To: Ryan Coleman <editor at d3photography.com>
> 
> man find
> 
> you can search on name (or extension) or size, or...
> 
> (assuming by pages you mean HTML or some such, and by thumbnails you
> mean small images.
> 
> On Fri, Nov 4, 2011 at 10:32 AM, Ryan Coleman <editor at d3photography.com> wrote:
>> 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.
>>> 
>>> 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?
>>> 
>>> Regards
>>> 
>>> G
>>> _______________________________________________
>>> freebsd-questions at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>> 
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>> 



More information about the freebsd-questions mailing list