glob() With Hidden Files

no-email (Damien Seguy), Damien Seguy
Tue, 06 Feb 2024 00:00:00 +0000

By default, the ``glob()`` function lists only files that don't start with a dot ``.``. This means that the hidden files, on Linux, are not listed.
With the ``GLOB_BRACE``` option, it is possible to list all files, and even filter out the ever present '.' and '..'.