Created
February 10, 2015 22:38
-
-
Save fgdrf/1b28ea78d1d44ce46eb4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # start it from within plugins-folder | |
| for i in $(find . -name plugin_*.properties -maxdepth 2 -print)do | |
| # get file to grep (build.properties) | |
| _bf=`dirname $i`/build.properties | |
| # get what to grep | |
| _bn=`basename $i` | |
| # cnt | |
| _cnt=`grep -c $_bn $_bf` | |
| echo "$_cnt $_bf ($_bn)" | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment