--exclude-dir='.git*'

This commit is contained in:
fred 2023-04-24 19:06:38 +02:00
parent 46ab6f015f
commit 0290d4017b
2 changed files with 3 additions and 3 deletions

View File

@ -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)

4
search
View File

@ -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