svn add --force *
Never been to CodeSnippets 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 svn repository (See related posts)
Comments on this post
svn st --ignore-externals | grep ^? | sed 's/\?/svn add/' | sh
svn status|awk '{if ($1 == "A") print $2}'|xargs svn add
svn status | grep -v "^.[ \t]*\..*" | grep "^?" | awk '{print $2}' | xargs svn add
svn commit
The first grep gets rid of any hidden files (which may be present if you use IDEs such as Zend studio).
The second grep makes sure you only get files that are currently of unknown status (ie the new ones).
awk grabs the file names.
xargs passes the file names as parameters to svn add.
You need to create an account or log in to post comments to this site.
Related Posts
» Clean Textpattern install fr... in installation textpattern svn
» Forcing an SVN export to ove... in svn export force sitemanagement
» Using a pre-commit script (w... in svn pre-commit precommit
» Recursively remove all .svn ... in shell svn bash
» knowning how many commits it... in svn subversion
» Finding files to be added in svn subversion
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails
That WILL save time.