Manual Page Search Parameters

RCSCLEAN(1) General Commands Manual RCSCLEAN(1)


rcscleanclean up working files


rcsclean [-TV] [-kmode] [-n[rev]] [-q[rev]] [-r[rev]] [-u[rev]] [-xsuffixes] [-ztz] [file ...]


The rcsclean program is used to clean up (remove) files that are not being worked on. Only checked out files from the current working directory are removed – rcsclean does not remove files from the RCS repository.
If no file operand is specified, rcsclean cleans up all working files in the current directory.
rcsclean also supports keyword substitution – see the rcs(1) man page for more information.
The following options are supported:
Specify the keyword substitution mode.
Dry-run mode. When this option is specified, rcsclean will show you what it would normally do without doing it.
Be quiet about reporting.
Remove revision rev. If rev does not match the revision of the currently checked out file, rcsclean will do nothing.
Preserve the modification time of RCS files.
Unlock the revision if it's currently locked. This is only possible if no changes have been made to the file since it was checked out.
Print RCS's version number.
Specify the suffixes for RCS files. Suffixes should be separated by the ‘/’ character.
Specify the time zone for keyword substitution.


If set, this variable should contain a list of space-delimited options that are prepended to the argument list.


The rcsclean utility exits 0 on success, and >0 if an error occurs.


Remove all working files (locked or not) in the current directory that were not changed since last checkout:
$ rcsclean -u


ci(1), co(1), ident(1), rcs(1), rcsdiff(1), rcsmerge(1), rlog(1)
September 3, 2010 OpenBSD-current