in reply to Re: To count number of files created yesterday in a directory
in thread To count number of files created yesterday in a directory

glob "*.*";

Note that the above glob will only match files/dirs containing a dot. If memory serves, this is a Microsoftism because in their world a simple glob "*" doesn't match all entries like it would on other platforms.

Luckily there are things like File::Glob to help with making such actions platform-independent.

Replies are listed 'Best First'.
Re^3: To count number of files created yesterday in a directory
by haukex (Archbishop) on Feb 04, 2017 at 13:13 UTC

    Hi hippo,

    a simple glob "*" doesn't match all entries like it would on other platforms

    At least on Linux, glob "*" skips entries beginning with a dot, to get those you need glob ".* *".

    Regards,
    -- Hauke D