From 0290d4017beb2e5d441307903b3299e7d84346b1 Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 24 Apr 2023 19:06:38 +0200 Subject: [PATCH] --exclude-dir='.git*' --- README.md | 2 +- search | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 21cb5675..95c484bc 100644 --- a/README.md +++ b/README.md @@ -272,7 +272,7 @@ GET /?player=${PLAYER}&youtube=URLENCODED | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `player` | `string` | **Required**. Your EMAIL token | -| `youtube | pdf` | `string` | **Required** URL kind = URL | +| `youtube or pdf` | `string` | **Required** URL kind = URL | ### QRCODE (API SandBox) diff --git a/search b/search index d430b4a4..cce4e620 100755 --- a/search +++ b/search @@ -6,11 +6,11 @@ if [ "$1" == "" ]; then else echo " Searching for "$1" recursively. Please Wait..." echo "------------------------------------------------------------------------------" - grep -h -r --exclude=B00 -H --colour=always "$1" ./ + grep -h -r --exclude-dir='.git*' -H --colour=always "$1" ./ fi echo "------------------------------------------------------------------------------" if [ "$2" != "" ]; then echo " To replace \"$1\" whith \"$2\", please run" - echo " grep -rl '$1' ./ | xargs sed -i 's~$1~$2~g'" + echo " grep -rl --exclude-dir='.git*' '$1' ./ | xargs sed -i 's~$1~$2~g'" fi ## THIS IS A GREAT RETRO ENGINEERING AND CODING TOOLS