Created
February 8, 2016 17:41
-
-
Save topolik/21a4b7bc094732290a2d to your computer and use it in GitHub Desktop.
Finds all Liferay models that are configured to use permissions
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
| find -name 'resource-actions' | grep -v 'classes\|bin\|build' | xargs find | grep xml | xargs grep model-name | sed 's/<[^>]\+>//g' | cut -d ':' -f 2 | sed 's/[[:space:]]//g' | grep '[A-Z]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment