Skip to content
Discussion options

You must be logged in to vote

It is unclear to me whether you're aware of the extent of ripgrep's automatic filtering. In particular, you only mention hidden files as something that could be filtered out, but ripgrep will filter out other things as well. From the second sentence of the README:

By default, ripgrep will respect gitignore rules and automatically skip hidden files/directories and binary files.

The user guide also has a section on automatic filtering.

I have 2 files, package.sh and package.cmd, seems that rg ignores them unless I use --hidden parameter, altough the files are not hidden.

Help me help you. Don't tell, show. Here's how to do it.

This means I always have to search with "--hidden", otherwi…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tawmoto
Comment options

@BurntSushi
Comment options

Answer selected by tawmoto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants