svn-clean
Wipes out unversioned files from Subversion working copy
- Provided by: subversion-tools (Version: 1.14.1-3ubuntu0.22.04.1)
- Source: subversion
- Report a bug
Wipes out unversioned files from Subversion working copy
svn-clean [options] [directory or file ...]
svn-clean will scan the given files and directories recursively and find unversioned files and directories (files and directories that are not present in the Subversion repository). After the scan is done, these files and directories will be deleted.
If no file or directory is given, svn-clean defaults to the current directory (".").
svn-clean uses the SVN Perl modules if they are available. This is much faster than parsing the output of the svn command-line client.
Multiple exclude patterns can be specified. If at least one matches, then the file is skipped. For example, the following command will skip files ending in ".jpg" or ".png":
The following command will skip the entire "build" subdirectory:
Simon Perreault <nomis80@nomis80.org>