rcsclean
Remove unchanged RCS working files
TLDR
Remove unchanged working files
SYNOPSIS
rcsclean [options] [file...]
DESCRIPTION
rcsclean removes working files that have not been modified since checkout. It compares each working file against its corresponding RCS revision and deletes unchanged files, cleaning up the working directory.
This utility is useful for removing files that were checked out for reading but never modified, reducing clutter in the working directory. With -u, it also unlocks any locked revisions that the caller owns if the working file is unchanged.
By default, rcsclean operates on all RCS-controlled files in the current directory. Specify filenames to operate on specific files only.
PARAMETERS
-n
Dry run; show what would be done without doing it-q
Quiet mode; suppress diagnostics-u [rev]
Unlock the revision if locked by the caller-r rev
Compare against specified revision instead of default-T
Preserve modification time of RCS file-V
Print version number
CAVEATS
Only removes files that are completely unchanged from their checked-out revision. Any modification, including whitespace changes, prevents deletion.
The -u option only unlocks revisions locked by the current user. It cannot unlock files locked by other users.
Use -n (dry run) first to preview which files will be removed, especially when running on an entire directory.
