Add all unversioned files to SVN

svn

I have a working copy that gets automatically committed into SVN overnight using a script.

I use the SVN command line to do so.

After a frustrating battle with Google, I have been unable to work out how to automatically add all unversioned files in the working copy to the repository before the commit.

Does anyone know how I might go about doing this?

Kindness and thanks in advance,

Dan

Best Answer

svn --force --depth infinity add .

Be careful, though, because this will also add any svn:ignore'd files.