Skip to content
/ rgf Public

A wrapper around ripgrep to check for various common patterns.

License

Notifications You must be signed in to change notification settings

j3ssie/rgf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

rgf

A wrapper around ripgrep to check for various common patterns.

Heavily inspired by the great gf project.

Why?

While developing my Osmedeus I found myself needing to grep a lot patterns for file and folder so I wrote rgf.

Usage

Config rgf

go get github.com/j3ssie/rgf

then add signatures to ~/.rgf/ folder.

Example command

rgf

rgf -dir /folder/to/grep/
rgf -file whateverfile
rgf -dir /folder/to/grep/ url

Adding pattern

./rgf.py -add url 'https?://(?:[-\w.]|(?:%[\da-fA-F]{2}))+

or just create it manually in ~/.rgf/your_pattern.json

Contact

@j3ssiejjj

About

A wrapper around ripgrep to check for various common patterns.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages