小编aNa*_*NaN的帖子

Ripgrep 仅排除文件夹根目录中的文件

如果我有这样的文件夹:

\n
dir:\n    \xe2\x94\x9c\xe2\x94\x80\xe2\x94\x80 1.index1.html\n    \xe2\x94\x9c\xe2\x94\x80\xe2\x94\x80 2.index2.html\n    \xe2\x94\x9c\xe2\x94\x80\xe2\x94\x80 3.index3.html\n    \xe2\x94\x9c\xe2\x94\x80\xe2\x94\x80 a\n    \xe2\x94\x82   \xe2\x94\x9c\xe2\x94\x80\xe2\x94\x80 1.index1.html\n    \xe2\x94\x82   \n\n
Run Code Online (Sandbox Code Playgroud)\n

如何在命令中告知仅排除根文件夹中的ripgrep文件,但仍搜索in 文件夹?index1.htmlindex1.htmla

\n

shell grep ripgrep

16
推荐指数
1
解决办法
1万
查看次数

标签 统计

grep ×1

ripgrep ×1

shell ×1