.Id $Id: rcsclean.1,v 1.8 1991/11/03 01:09:19 eggert Exp $
rcsclean \- clean up working files
.RI [ options "] [ " file " .\|.\|. ]"
removes working files that were checked out and never modified.
compares the working file and a revision in the corresponding
\*r file. If it finds a difference, it does nothing.
Otherwise, it first unlocks the revision if the
and then removes the working file
unless the working file is writable and the revision is locked.
It logs its actions by outputting the corresponding
commands on the standard output.
is given, all working files in the current directory are cleaned.
Pathnames matching an \*r suffix denote \*r files;
all others denote working files.
Names are paired as explained in
The number of the revision to which the working file is compared
may be attached to any of the options
If no revision number is specified, then if the
option is given and the caller has one revision locked,
uses that revision; otherwise
uses the latest revision on the default branch, normally the root.
which prints out the differences,
normally asks whether to check in a file
style keyword substitution when retrieving the revision for comparison.
Do not actually remove any files or unlock any revisions.
Using this option will tell you what
would do without actually doing it.
Do not log the actions taken on standard output.
This option has no effect other than specifying the revision for comparison.
Unlock the revision if it is locked and no difference is found.
to characterize \*r files.
removes all working files ending in
removes all working files in the current directory
that were not changed since their checkout.
options prepended to the argument list, separated by spaces.
A backslash escapes spaces within an option.
options are prepended to the argument lists of most \*r commands.
The exit status is zero if and only if all operations were successful.
Missing working files and \*r files are silently ignored.
Revision Number: \*(Rv; Release Date: \*(Dt.
Copyright \(co 1982, 1988, 1989 by Walter F. Tichy.
Copyright \(co 1990, 1991 by Paul Eggert.
ci(1), co(1), ident(1), rcs(1), rcsdiff(1), rcsintro(1), rcsmerge(1), rlog(1),
\*r\*-A System for Version Control,
.I "Software\*-Practice & Experience"
must be given in older Unix versions that
do not provide the needed directory scanning operations.