From: robertlaferla@... Date: 2007-03-27T06:18:22+09:00 Subject: Find.find() doesn't work with broken symlinks Find.find() seems to filter out broken symlinks. I was hoping to use it to get a recursive list of files in directory so I could run various tests on each file (like whether or not a symlink points to a valid file) What can I use instead of Find.find()? Is there a better way? def testsymlinks(srcpath) Find.find(srcpath) do |path| if File.symlink?(path) begin File.stat(path) rescue Exception => e $stderr.puts "The symlink " + path + " does not point to a valid file. Please check that you have all your network volumes mounted." exit(-1) end end end end