From: Tim McIntyre Date: 2007-10-25T02:00:08+09:00 Subject: Re: Ruby is simple? NooooT! --Apple-Mail-9-189643574 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed files = Dir.glob("img/**/*.jpg") pretty sure that keeps all the sub-folders in tact e.g. dir1/ img1.jpg, dir2/img1.jgp, dir1/dir3/img1.jpg etc.... Tim On Oct 24, 2007, at 9:50 AM, Casimir P wrote: > On Wed, 24 Oct 2007 09:46:23 -0700, Phlip wrote: > >>>> files = Dir["img/**/*.jpg"] >>> >>> Well technically that does NOT find subdirectories. Call in the >>> disqualifier dogs!!!!!! >> >> Allow me to draw your attention to the ** >> >> It sweeps subfolders. > But supposedly you cant tell whats what now. Its all just a big > blur. You > get all the little images but lose the bigger picture. > > Its what happens when you dont keep track of the subdirectories. > > Csrm > -- > Casimir Pohjanraito > Art Portfolio: http://csmr.dreamhosters.com > Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind. - Dr. Seuss --Apple-Mail-9-189643574--