Posted By

arnoldu on 01/31/08


Tagged

files directory find recurse directories


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

webstic


Recurse through directories and files


 / Published in: Rails
 

  1. Dir['**/*.jpg'].foreach do |filename|
  2. ... process your filename here
  3. end

Report this snippet  

You need to login to post a comment.