Skip to content

Instantly share code, notes, and snippets.

@xymor
Created March 8, 2012 22:26
Show Gist options
  • Save xymor/2003860 to your computer and use it in GitHub Desktop.
Save xymor/2003860 to your computer and use it in GitHub Desktop.
Set a single svn ignore list in all grails projects recursively
#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