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. Files which match
patterns in the svn-clean:ignore dir property will be spared, much as
the svn:ignore property works for svn status.
If no file or directory is given, svn-clean defaults to the current
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.
A regular expression for filenames to be exluded. For example,
the following command will skip files ending in ".zip":
svn-clean --exclude '\.zip$'
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":
svn-clean --exclude '\.jpg$' --exclude '\.png$'
The following command will skip the entire "build"
svn-clean --exclude '^build(/|$)'
Files to which you do not have delete access (if running under
VMS) or write access (if running under another OS) will not be
deleted unless you use this option.
Do not search recursively for unversioned files and
directories. Unversioned directories will still be deleted
along with all their contents.
Do not print progress info. In particular, do not print a
message each time a file is examined, giving the name of the
file, and indicating whether "rmdir" or "unlink" is used to
remove it, or that it's skipped.
Do not delete anything. Instead, print the name of every file
Man Pages Copyright Respective Owners. Site Copyright (C) 1994 - 2018
All Rights Reserved.