Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 636 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 636 Bytes

repgrep - repeated grep

repgrep automates your grep command and will run your command every X seconds (Similiar to watch command).

Just change your grep command to repgrep and add the -rep X flag.

Example

repgrep

Usage

  • Set alias for repgrep, such as: alias repgrep='~/repgrep/repgrep.sh'.
  • Set the script full permissions using chmod
  • Use repgrep command instead of grep. add -rep for setting the interval (default is 10sec)
    • i.e. repgrep "/share/xorg" ../ -r -rep 3

Contribution

Just go for it.