How do I get a list of all unversioned files from SVN?

Use the svn status command:

svn status | grep ^?

Files that are not versioned are indicated with a ? at the start of the line.

If you find that you always have some specific files that should not be added to the repository (for example, generated binaries), you should set up the svn:ignore property on the containing directory so these files won’t keep showing up when using svn status.

Leave a Comment