Tim McIntyre wrote:
> 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....

I verified that this returns a fully qualified path.  Ruby wins again!
-- 
Posted via http://www.ruby-forum.com/.