[net.sources] rmfile, man page

CSvax:Pucc-H:Physics:suitti (04/07/83)

.TH RMFILE 1 LOCAL
.SH NAME
rmfile  \- remove/rename (unlink/link) files
.SH SYNOPSIS
.B rmfile
.PP
.SH DESCRIPTION
.I Rmfile
allows you to remove or rename the entries for one or more files
from the current directory.
If you delete an entry which was the last link to the file, the file
is destroyed.
This command is mostly useful for removing or renaming files with invisible
characters in the name.
Characters of this sort include control characters, rubouts, and those
whose most significant bit is set.
A rename or removal of a file requires write permission in its directory,
but neither read nor write permission on the file itself.
.PP
A list of files in the current directory is printed.
Each file has a number to identify it.
You are then asked to enter the number of the file you want to delete,
or 'l' to print the list again, or 'q' to quit (exit), or 'r' to rename
a file.
After entering a file number, the program prints the filename and asks
for comfirmation before continueing.
Type "y" or "yes" to confirm that this is the correct file.
.PP
The prompt asking for one of the commands (file number, q, l, or r)
is repeated.
.SH "SEE ALSO"
rm(1), rmdir(1), unlink(2), link(2)
.SH DIAGNOSTICS
Rmfile trys not to remove or modify "." or "..".