How can I return a list of only the files, not directories, in a specified directory?
I have my_list = Dir.glob(script_path.join(\"*\"))
my_list = Dir.glob(script_path.join(\"*\"))
This re
Entries don't do rescursion i think. If you want the files in the subdirs also use
puts Dir['**/*'].select { |f| File.file?(f) }