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

Is it possible to provide the files to be searched in a file rather than on the command line? #1525

Closed
jborgh opened this issue Mar 19, 2020 · 3 comments
Labels
duplicate An issue that is duplicative of another.

Comments

@jborgh
Copy link

jborgh commented Mar 19, 2020

What version of ripgrep are you using?

ripgrep 11.0.2 (rev 3de31f7)

How did you install ripgrep?

scoop

What operating system are you using ripgrep on?

Windows 10

Describe your question, feature request, or bug.

I am interested in searching a specific set of files which I am currently specifying on the command line as the [PATH ...] argument. I'm wondering if there is something similar to the --file flag (which is for patterns) to specify a file containing a list of file paths to search instead?

Currently, I sometimes have to invoke rg multiple times since I'm hitting the max command line length.

@BurntSushi BurntSushi added the duplicate An issue that is duplicative of another. label Mar 19, 2020
@BurntSushi
Copy link
Owner

Duplicate of #273.

@jborgh
Copy link
Author

jborgh commented Mar 19, 2020

Thanks for the quick reponse!

@habamax
Copy link

habamax commented May 25, 2020

@jborgh how did you resolve the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate An issue that is duplicative of another.
Projects
None yet
Development

No branches or pull requests

3 participants