Re: List a subdirectories in a directory?

"Richard O'Keefe" <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <CABcYAdJj00qdqJWn9hFCFXBYWeaP7iXdg_1wPC6LoPyBiW-1UA@mail.gmail.com>
Given a directory and a file name, put them together.
Then use file:read_file_info/[1,2] to find out whether that names a directory.

On Tue, 10 Aug 2021 at 13:13, Lloyd R. prentice <[email protected]> wrote:
>
> 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
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.