SVN ignore files

At customer projects I come across lot’s of subversion repositories that do not have their ignore files properly configured. I usually add a file .ignore in the root with the following contents

*.class
*.jar
*.war
*.ear
*.iml
.classpath
.settings
.project
.metadata
.idea
bin
target

Since I am still a fan of command line the following commands are utilized

svn propset svn:ignore -R -F .ignore .
svn ci -m "svn propset svn:ignore -R -F .ignore ."