List a subdirectories in a directory?

Lloyd R. prentice lloyd@REDACTED
Tue Aug 10 03:12:20 CEST 2021


Hello,

.file:list_dir/1 lists all files in a directory. But I need to list all sub-directories.

One would think that this would be a routine function., but my aging eyes fail to find any way to do this.

Can someone please show me the path forward?

Many thanks,

LRP

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210809/6f850413/attachment.htm>


More information about the erlang-questions mailing list