--exclude-dir='.git*'
This commit is contained in:
parent
46ab6f015f
commit
0290d4017b
|
@ -272,7 +272,7 @@ GET /?player=${PLAYER}&youtube=URLENCODED
|
||||||
| Parameter | Type | Description |
|
| Parameter | Type | Description |
|
||||||
| :-------- | :------- | :-------------------------------- |
|
| :-------- | :------- | :-------------------------------- |
|
||||||
| `player` | `string` | **Required**. Your EMAIL token |
|
| `player` | `string` | **Required**. Your EMAIL token |
|
||||||
| `youtube | pdf` | `string` | **Required** URL kind = URL |
|
| `youtube or pdf` | `string` | **Required** URL kind = URL |
|
||||||
|
|
||||||
|
|
||||||
### QRCODE (API SandBox)
|
### QRCODE (API SandBox)
|
||||||
|
|
4
search
4
search
|
@ -6,11 +6,11 @@ if [ "$1" == "" ]; then
|
||||||
else
|
else
|
||||||
echo " Searching for "$1" recursively. Please Wait..."
|
echo " Searching for "$1" recursively. Please Wait..."
|
||||||
echo "------------------------------------------------------------------------------"
|
echo "------------------------------------------------------------------------------"
|
||||||
grep -h -r --exclude=B00 -H --colour=always "$1" ./
|
grep -h -r --exclude-dir='.git*' -H --colour=always "$1" ./
|
||||||
fi
|
fi
|
||||||
echo "------------------------------------------------------------------------------"
|
echo "------------------------------------------------------------------------------"
|
||||||
if [ "$2" != "" ]; then
|
if [ "$2" != "" ]; then
|
||||||
echo " To replace \"$1\" whith \"$2\", please run"
|
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
|
fi
|
||||||
## THIS IS A GREAT RETRO ENGINEERING AND CODING TOOLS
|
## THIS IS A GREAT RETRO ENGINEERING AND CODING TOOLS
|
||||||
|
|
Loading…
Reference in New Issue