dir-has-dot-files - Test that a directory has dot files
This document describes version 0.002 of dir-has-dot-files (from Perl distribution App-FileTestUtils), released on 2019-09-29.
On the command-line:
% dir-has-dot-files "foo" && echo "foo/ has dot files"
This is a simple CLI for File::MoreUtil's dir_has_dot_files. It will exit 0 if argument is a directory and has plain, dot (a.k.a. hidden) files. A plain file is a regular/non-special file. A symlink to a plain file counts as a plain file. Non-plain files include named pipes, Unix sockets, and block/character special files.
Please visit the project's homepage at https://metacpan.org/release/App-FileTestUtils.
Source repository is at https://github.com/perlancar/perl-App-FileTestUtils.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-FileTestUtils
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
File::MoreUtil
dir-has-files
dir-has-non-dot-files
perlancar <perlancar@cpan.org>
This software is copyright (c) 2019 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::FileTestUtils, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::FileTestUtils
CPAN shell
perl -MCPAN -e shell install App::FileTestUtils
For more information on module installation, please visit the detailed CPAN module installation guide.