Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Find a path : Find « File Directory « Ruby
Ruby
File Directory
Find
Find a path
require
'find'
Find.find(
'./'
) { |path| puts path }
Related examples in the same category
1.
Find.find by block
2.
prune under file basename
3.
Finding the Files
4.
Find the MP3s.
5.
Find the README files.
6.
File a file starting with certain string
7.
Finds files that were probably left behind by emacs sessions.
8.
Finds all files that are larger than a certain threshold.
9.
Finds all files modified more recently than a certain number of seconds ago.
10.
Finds all files that haven't been accessed since they were last modified.