Skip to content

Ignore dir to regex#176

Merged
bootandy merged 3 commits into
masterfrom
ignore_dir_to_regex
Sep 19, 2021
Merged

Ignore dir to regex#176
bootandy merged 3 commits into
masterfrom
ignore_dir_to_regex

Conversation

@bootandy
Copy link
Copy Markdown
Owner

replaces: #174

t = Show summary of types

-e = Filter by regex
allows you to specify a file type like -e ".txt$"

-v = Filter by inverse regex
allows you to ignore a file type like -v ".txt$"

Change behaviour of '-f' flag - it now counts only files. Before it
counted files & directories. This was needed for compatibility with
the new '-e' filter flag

-t = Show summary of types

-e = Filter by regex
	allows you to specify a file type like -e "\.txt$"

Change behaviour of '-f' flag - it now counts only files. Before it
counted files & directories. This was needed for compatibility with
the new '-e' filter flag
Mimic grep's -v option.

Allows dust to only match files that do not match the given filter
This avoids uses one less 'match' statement
@bootandy bootandy merged commit d6c2482 into master Sep 19, 2021
@bootandy bootandy deleted the ignore_dir_to_regex branch October 11, 2021 17:34
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

Successfully merging this pull request may close these issues.

1 participant