From 0bd2bcb172bd4acc96c859536e2b36f033eed9b1 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 31 May 2024 16:04:30 +0100 Subject: (Scripts)+repo_find and rgrep --- Scripts/.local/scripts/repo_find | 3 +++ Scripts/.local/scripts/rgrep | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 Scripts/.local/scripts/repo_find create mode 100755 Scripts/.local/scripts/rgrep (limited to 'Scripts/.local') diff --git a/Scripts/.local/scripts/repo_find b/Scripts/.local/scripts/repo_find new file mode 100755 index 0000000..94c8580 --- /dev/null +++ b/Scripts/.local/scripts/repo_find @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +ssh git@git.aryadevchavali.com "ls /git" | grep $1 diff --git a/Scripts/.local/scripts/rgrep b/Scripts/.local/scripts/rgrep new file mode 100755 index 0000000..c95a42a --- /dev/null +++ b/Scripts/.local/scripts/rgrep @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +find -type 'f' -name $1 -exec grep --color=always -inH $2 "{}" ";" -- cgit v1.2.3-13-gbd6f