Created
March 8, 2012 22:26
-
-
Save xymor/2003860 to your computer and use it in GitHub Desktop.
Set a single svn ignore list in all grails projects recursively
This file contains 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
#forgive my newb bash skillz | |
find . -iname grails-app | xargs -I {} readlink -f {} | xargs -I {} dirname {} | xargs -I {} svn propset svn:ignore "$(echo -e "*.iml\n*.ipr\n*.iws\n*.launch\n*.prefs\n*.tmproj\n*Db.log\n*Db.properties\n*Db.script\n.classpath\n.hg\n.hgignore\n.idea\n.project\n.settings\nRuleLogFile.log\nbin\nbin-groovy\ndevDB.*\ndevDb.*\nout\nplugin.xml\nprodDb.*\npromotional.log\nstacktrace.log\ntarget\ntarget-eclipse\ntest-output\ntestDb.*\n")" {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment