-
I have approximately 150 files in many different folders (basically all the python files I have edited in vim) Till now, if I wanted to search them, I'd do This is no longer possible as I am now hitting the CMD.exe character limit of 8192. There is no xargs on windows, and I would like to avoid powershell because even that has a character limit of 32k, which is not a permanent solution. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I'm pretty sure you can install Failing that, you could try using globs in your shell. I don't know how they work on Windows. Failing that, you'll have to split your command into multiple commands. Maybe there are other solutions, but this is more of a Windows question and I don't know much about Windows. |
Beta Was this translation helpful? Give feedback.
-
Okay got an alternative, using the cross-platform tool rush
|
Beta Was this translation helpful? Give feedback.
Okay got an alternative, using the cross-platform tool rush
rush -i paths.txt --keep-order "rg --vimgrep pattern {}" > result.txt