Never been to TextSnippets before?

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 (or not, you can keep them private!)

Add all new files to Subversion (See related posts)

Bash script to add all new files to Subversion

for i in `svn st | grep ? | awk -F "      " '{print $2}'`; do svn add $i; done

Comments on this post

Gazoduc posts on May 04, 2006 at 13:38
Nice and compact. I did the same in Ruby : http://textsnippets.com/posts/show/386
Seven.net.nz posts on May 18, 2006 at 02:30
I should have looked harder. http://textsnippets.com/posts/show/45
dasil003 posts on Aug 12, 2006 at 17:22
I'm not sure that's better because I think it will add ignored files.
dasil003 posts on Aug 12, 2006 at 17:22
I'm not sure that's better because I think it will add ignored files.

You need to create an account or log in to post comments to this site.


Related Posts