AmitShtober / repgrep

repgrep automates your grep command and will run your command every X seconds.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

repgrep automates your grep command and will run your command every X seconds.


Languages

Language:Shell 100.0%