Files [Admiral Wonderboat]
Files [Admiral Wonderboat]


You're viewing a single thread.
All Comments
29 comments
tequinhu @lemmy.world grep -irl "some text that the file would have"
(Obiously only work for text files, but that's enough to cover 90% of cases for me)
14 1 Replyswab148 @lemm.ee
Now we need a /c/grep_irl
13 0 ReplyMiDaBa @lemmy.ml That's a solid windows shame.
4 0 Replytequinhu @lemmy.world Fun fact: I use "git bash shell" over windows' cmd just because of grep
1 0 ReplyRikudou_Sage @lemmings.world
You can also use WSL to get a full Linux there. If WSL1 is still available, it would be better for this use case.
1 0 Reply
indepndnt @lemmy.world I don't know what those flags mean, but from context I think this is a command I've needed a bunch of times but haven't had the time or energy to learn about yet. So thanks! I can't wait to try it!
1 0 Replynaticus @lemmy.world 2 0 Replytequinhu @lemmy.world - case
i
nsensitive r
recursive- only show fi
l
enames
I also like to use:
I
(capital i) to skip binary files, if I'm in a folder with heavy images/videos/etcc 3
to show 3 lines around the matched text
2 0 Reply- case
29 comments
Scroll to top