Recursive file listening???

M

Marcin Tyman

Hi,
How to perform recursive file listening? Means that I want to list all
files in dir tree.

Thanks in advance
 
J

James Gray

How to perform recursive file listening? Means that I want to list all
files in dir tree.

On Mac OS X you can use FSEvents for this.

James Edward Gray II
 
F

Farrel Lifson

2008/9/3 Marcin Tyman said:
How to perform recursive file listening? Means that I want to list all
files in dir tree.

Dir.glob('**/*.rb')

will return an array with all filenames ending with .rb reursively.

Farrel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,201
Messages
2,571,049
Members
47,655
Latest member
eizareri

Latest Threads

Top