{
    "mode": "man",
    "parameter": "svn-clean",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/svn-clean/1/json",
    "generated": "2026-08-30T20:47:05Z",
    "synopsis": "svn-clean [options] [directory or file ...]",
    "sections": {
        "NAME": {
            "content": "svn-clean - Wipes out unversioned files from Subversion working copy\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "svn-clean [options] [directory or file ...]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "svn-clean will scan the given files and directories recursively and find unversioned files\nand directories (files and directories that are not present in the Subversion repository).\nAfter the scan is done, these files and directories will be deleted.\n\nIf no file or directory is given, svn-clean defaults to the current directory (\".\").\n\nsvn-clean uses the SVN Perl modules if they are available. This is much faster than parsing\nthe output of the svn command-line client.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-e --exclude",
                    "content": "A  regular expression for filenames to be exluded. For example, the following command\nwill skip files ending in \".zip\":\n\nsvn-clean --exclude '\\.zip$'\n\nMultiple exclude patterns can be specified. If at least one matches, then the file is\nskipped. For example, the following command will  skip  files  ending  in  \".jpg\"  or\n\".png\":\n\nsvn-clean --exclude '\\.jpg$' --exclude '\\.png$'\n\nThe following command will skip the entire \"build\" subdirectory:\n\nsvn-clean --exclude '^build(/|$)'\n",
                    "flag": "-e",
                    "long": "--exclude"
                },
                {
                    "name": "-f --force",
                    "content": "Files  to  which you do not have delete access (if running under VMS) or write access\n(if running under another OS) will not be deleted unless you use this option.\n",
                    "flag": "-f",
                    "long": "--force"
                },
                {
                    "name": "-N --non-recursive",
                    "content": "Do  not  search  recursively  for  unversioned  files  and  directories.  Unversioned\ndirectories will still be deleted along with all their contents.\n",
                    "flag": "-N",
                    "long": "--non-recursive"
                },
                {
                    "name": "-q --quiet",
                    "content": "Do not print progress info. In particular, do not print a message each time a file is\nexamined,  giving the name of the file, and indicating whether \"rmdir\" or \"unlink\" is\nused to remove it, or that it's skipped.\n",
                    "flag": "-q",
                    "long": "--quiet"
                },
                {
                    "name": "-p --print",
                    "content": "Do not delete anything. Instead, print the name of  every  file  and  directory  that\nwould have been deleted.\n\n-?, -h, --help\nPrints a brief help message and exits.\n\n--man   Prints the manual page and exits.\n",
                    "flag": "-p",
                    "long": "--print"
                }
            ]
        },
        "AUTHOR": {
            "content": "Simon Perreault <nomis80@nomis80.org>\n\n2024-04-01                                 SVN-CLEAN(1)",
            "subsections": []
        }
    },
    "summary": "svn-clean - Wipes out unversioned files from Subversion working copy",
    "flags": [
        {
            "flag": "-e",
            "long": "--exclude",
            "arg": null,
            "description": "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\" subdirectory: svn-clean --exclude '^build(/|$)'"
        },
        {
            "flag": "-f",
            "long": "--force",
            "arg": null,
            "description": "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."
        },
        {
            "flag": "-N",
            "long": "--non-recursive",
            "arg": null,
            "description": "Do not search recursively for unversioned files and directories. Unversioned directories will still be deleted along with all their contents."
        },
        {
            "flag": "-q",
            "long": "--quiet",
            "arg": null,
            "description": "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."
        },
        {
            "flag": "-p",
            "long": "--print",
            "arg": null,
            "description": "Do not delete anything. Instead, print the name of every file and directory that would have been deleted. -?, -h, --help Prints a brief help message and exits. --man Prints the manual page and exits."
        }
    ],
    "examples": [],
    "see_also": []
}