Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the Ignore array #20

Open
RickAltman opened this issue Sep 12, 2023 · 3 comments
Open

Using the Ignore array #20

RickAltman opened this issue Sep 12, 2023 · 3 comments

Comments

@RickAltman
Copy link

Hi, I love this little dynamo of a product! The last line of Configuration reads like this:

$ignore = array(); // Names of files and folders to not list (case-sensitive)

I presume it is a filter of sorts, so that I could instruct it to not show certain files. What is the syntax for using this, and can I use wildcards to, for example, filter out all JPG and PNG files?

@tim-elmer
Copy link
Contributor

Rick,

Simpler than that; it's a case-insensitive comparison. Syntax should look like $ignore = array("launch_codes.csv", "Executive Meeting Minutes.docx"); unless I'm mistaken.

@Dominiquini
Copy link

It would be really useful if we could use wildcards or regular expression to filter the results!

Thanks

@lorenzos
Copy link
Owner

You're right. I'll leave this open as a reminder, PRs are welcome anyway 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants