[erlang-questions] file finders

Joe Armstrong erlang@REDACTED
Mon Apr 15 12:17:28 CEST 2013


Hello,

Has anybody written a decent "file finder" in Erlang. Something like the
unix 'find' command.

I want something that:

    - traverse the file system recursively
    - applies a function to any filename that matches a regexp
    - correctly handles symlinks
    - should work on all platforms

I'd like to follow symlinks, but not when they result in a circular path.

I thought I had one, but it turns out not to correctly handle symlinks

/Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130415/9a1a46f3/attachment.htm>


More information about the erlang-questions mailing list