mirror of https://github.com/wekan/wekan
The Open Source kanban (built with Meteor). Keep variable/table/field names camelCase. For translations, only add Pull Request changes to wekan/i18n/en.i18n.json , other translations are done at https://transifex.com/wekan/wekan only.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
567 B
17 lines
567 B
![]()
6 years ago
|
#!/bin/bash
|
||
|
|
||
|
# Find text from all subdirectories
|
||
|
# and ignore all temporary directories:
|
||
|
# - node-modules = installed node modules
|
||
|
# - .build = Wekan bundle that is combined from source. Do not edit these, these are deleted and recreated.
|
||
|
# - .meteor = Meteor version, packages etc at .meteor/local
|
||
|
# - .git = git history
|
||
|
|
||
|
# If less or more that 1 parameter, show usage.
|
||
|
if (( $# != 1 )); then
|
||
|
echo 'Usage: ./find.sh text-to-find'
|
||
|
exit 0
|
||
|
fi
|
||
|
|
||
|
find . | grep -v node_modules | grep -v .build | grep -v .meteor | grep -v .git | xargs grep --no-messages $1 | less
|