A wrapper around ripgrep to check for various common patterns.
Heavily inspired by the great gf project.
While developing my Osmedeus I found myself needing to grep a lot patterns for file and folder so I wrote rgf
.
go get github.com/j3ssie/rgf
then add signatures to ~/.rgf/
folder.
rgf
rgf -dir /folder/to/grep/
rgf -file whateverfile
rgf -dir /folder/to/grep/ url
./rgf.py -add url 'https?://(?:[-\w.]|(?:%[\da-fA-F]{2}))+
or just create it manually in ~/.rgf/your_pattern.json