Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@zxkletters
Last active December 21, 2015 04:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zxkletters/6248088 to your computer and use it in GitHub Desktop.
Save zxkletters/6248088 to your computer and use it in GitHub Desktop.
#!/bin/bash
find . -name .svn|xargs rm -rf
find . -name .settings | xargs rm -rf
find . -name .project | xargs rm -rf
find . -name .classpath | xargs rm -rf
find . -name target | xargs rm -rf
# === generate ignore file
echo ".project" >> ignore
echo ".classpath" >> ignore
echo "target" >> ignore
echo ".settings" >> ignore
svn propset svn:ignore -F ./ignore -R .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment