SVN-CLEAN(1)
π SVN-CLEAN π
okay bestie, welcome to the svn-clean manual page, from the User Commands section, manual name SVN-CLEAN(1). pull up a chair, grab a snack π, we're gonna clean house.
β¨ NAME β¨
svn-clean β wipes out unversioned files from your Subversion working copy. literally just yeets them. no cap. π§Ήπ
πΈ SYNOPSIS πΈ
svn-clean [options] [directory or file ...]
π¦ DESCRIPTION π¦
okay so here's the vibe. svn-clean goes through the files and directories you hand it, recursively, and hunts down all the unversioned files and directories β meaning the ones that are not present in the Subversion repository. it's giving detective energy π. and once the scan is done? those files and directories get deleted. gone. periodt. π
if you don't give it any file or directory at all, svn-clean just defaults to the current directory ("."). it's like, "fine, i'll do it myself" energy.
and here's the tea β: svn-clean uses the SVN Perl modules if they are available. that route is much faster than parsing the output of the svn command-line client. so like, if you got the modules, you're speedrunning. β‘
π OPTIONS π
-e,--excludeβ a regular expression for filenames to be excluded. for example, this command right here will skip files ending in".zip":
svn-clean --exclude '\.zip$'
you can stack multiple exclude patterns, bestie. if at least one matches, then the file is skipped. for example, this next one skips files ending in ".jpg" or ".png":
svn-clean --exclude '\.jpg$' --exclude '\.png$'
and if you wanna skip the entire "build" subdirectory, it's giving:
svn-clean --exclude '^build(/|$)'
iconic behavior tbh. π
-f,--forceβ files you don't have delete access to (if you're running under VMS) or write access to (if you're running under another OS) will not be deleted unless you use this option. so like, no--force, no permission slip, no deletion. simple as. π₯-N,--non-recursiveβ do not search recursively for unversioned files and directories. β οΈ but heads up: unversioned directories will still be deleted along with all their contents. so it's non-recursive, but the directory goes down with everything inside it. it's giving "i'm not looking for trouble but trouble found me." π-q,--quietβ do not print progress info. specifically, don't 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. silent but deadly. π€«-p,--printβ do not delete anything. instead, print the name of every file and directory that would have been deleted. it's the window-shopping version. ποΈβ¨-?,-h,--helpβ prints a brief help message and exits. your girl's got you. π«Ά--manβ prints the manual page and exits. hi, that's this. you're here. π
β AUTHOR β
Simon Perreault <nomis80@nomis80.org> β the mastermind behind all this. bow down. π
okay that's the whole page, bestie, you ate that read πβ¨. this one's from User Commands, manual name SVN-CLEAN(1), dated 2025-04-06. go forth and clean your working copy, you main character. ππ¦π
π¦ where this page comes from
- debian trixie: subversion-tools 1.14.5-3 Β· Apache-2.0
- ubuntu questing: subversion-tools 1.14.5-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms