9 .TH RCSCLEAN 1 \*(Dt GNU
11 rcsclean \- clean up working files
14 .RI [ options "] [ " file " .\|.\|. ]"
17 removes files that are not being worked on.
19 also unlocks and removes files that are being worked on
26 compares the working file and a revision in the corresponding
27 \*r file. If it finds a difference, it does nothing.
28 Otherwise, it first unlocks the revision if the
31 and then removes the working file
32 unless the working file is writable and the revision is locked.
33 It logs its actions by outputting the corresponding
37 commands on the standard output.
39 Files are paired as explained in
43 is given, all working files in the current directory are cleaned.
44 Pathnames matching an \*r suffix denote \*r files;
45 all others denote working files.
47 The number of the revision to which the working file is compared
48 may be attached to any of the options
54 If no revision number is specified, then if the
56 option is given and the caller has one revision locked,
58 uses that revision; otherwise
60 uses the latest revision on the default branch, normally the root.
68 which prints out the differences,
72 normally reverts to the previous revision
73 if a file was not changed.
79 style keyword substitution when retrieving the revision for comparison.
85 Do not actually remove any files or unlock any revisions.
86 Using this option will tell you what
88 would do without actually doing it.
91 Do not log the actions taken on standard output.
94 This option has no effect other than specifying the revision for comparison.
97 Preserve the modification time on the \*r file
98 even if the \*r file changes because a lock is removed.
99 This option can suppress extensive recompilation caused by a
101 dependency of some other copy of the working file on the \*r file.
102 Use this option with care; it can suppress recompilation even when it is needed,
103 i.e. when the lock removal
104 would mean a change to keyword strings in the other working file.
107 Unlock the revision if it is locked and no difference is found.
110 Print \*r's version number.
122 to characterize \*r files.
130 as the time zone for keyword substitution;
142 removes all working files ending in
146 that were not changed
147 since their checkout.
155 removes all working files in the current directory
156 that were not changed since their checkout.
159 accesses files much as
165 options prepended to the argument list, separated by spaces.
166 A backslash escapes spaces within an option.
169 options are prepended to the argument lists of most \*r commands.
179 The exit status is zero if and only if all operations were successful.
180 Missing working files and \*r files are silently ignored.
182 Author: Walter F. Tichy.
184 Manual Page Revision: \*(Rv; Release Date: \*(Dt.
186 Copyright \(co 1982, 1988, 1989 Walter F. Tichy.
188 Copyright \(co 1990, 1991, 1992, 1993 Paul Eggert.
190 ci(1), co(1), ident(1), rcs(1), rcsdiff(1), rcsintro(1), rcsmerge(1), rlog(1),
194 \*r\*-A System for Version Control,
195 .I "Software\*-Practice & Experience"
197 7 (July 1985), 637-654.
201 must be given in older Unix versions that
202 do not provide the needed directory scanning operations.