DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Adding New Files To A Subversion Repo

  • submit to reddit
# List all new files
svn st | grep ? | sed "s/^? //"

# Add all new files
svn st | grep ? | sed "s/^? //" | xargs svn add

# Another way to add all new files
svn add * --force