From: seebs@... (Peter Seebach) Date: 2007-05-18T18:26:08+09:00 Subject: Re: Recursive directory listing In message <464D6FED.8030701@exilregeringen.se>, Jesper writes: >I read somewhere (online, not in the Pickaxe which is out of reach at >the moment), that "**/*.mp3" would search through all levels, looking >for *.mp3 files... but that doesn't seem to be the case. My (pig-ugly) >code at the moment looks something like: It seems to me that this might be a feature of some *shells*, but I've never seen it in Ruby. >It gets very bloated when I want to find many different extensions many >(all) levels down, surely there is some better way to do this? Any hints >of references would be appreciated. You will almost certainly have to actually write the code to list, look for directories, change to them, and recurse. -s