Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby loop over files in a folder

::Dir.each_child('/path/to/dir') do |filename|
  puts filename
end
 
PREVIOUS NEXT
Tagged: #ruby #loop #files #folder
ADD COMMENT
Topic
Name
3+5 =