I hit send before I had a chance to finish that thought --

You can use ``file-info directory?`` to exclude directories or ``file-info
regular-file?`` to include only regular files.

There are other file types that might be returned in the ``file-info``
tuple:

http://docs.factorcode.org/content/article-file-types.html




On Sat, Oct 29, 2016 at 9:51 AM, John Benediktsson <mrj...@gmail.com> wrote:

> Directories are files too! :-)
>
> > On Oct 29, 2016, at 9:24 AM, Alexander Ilin <ajs...@yandex.ru> wrote:
> >
> > Hello!
> >
> > Thank you, Björn and John, for the great suggestions!
> > I didn't know about the `globs` vocab, and it's almost undocumented. A
> couple of examples wouldn't hurt.
> >
> > Unfortunately, `find-all-files` returns directories as well. Is that a
> bug?
> >
> > ---=====---
> > Александр
> >
> > ------------------------------------------------------------
> ------------------
> > The Command Line: Reinvented for Modern Developers
> > Did the resurgence of CLI tooling catch you by surprise?
> > Reconnect with the command line and become more productive.
> > Learn the new .NET and ASP.NET CLI. Get your free copy!
> > http://sdm.link/telerik
> > _______________________________________________
> > Factor-talk mailing list
> > Factor-talk@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/factor-talk
>
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to