Manual / rm
rm(1)
| RM(1) | General Commands Manual | RM(1) |
NAME
rm - remove files and directory trees
SYNOPSIS
rm [-irf] file ...
DESCRIPTION
Rm removes the entries for one or more files from a directory. ProDOS has no hard links: removal destroys the file. Its access byte must permit destruction; there is no Unix directory ownership/permission model.
- -i
- Prompt before each removal; only y or Y proceeds.
- -f
- Ignore nonexistent operands. Other failures are still errors.
- -r
- Remove directory trees recursively.
Without -r, an empty directory can also be removed, following ProDOS DESTROY semantics; a nonempty one is refused. A failed operand is reported and the others are attempted. A declined removal is not an error.
FILES
/usr/man/RM this page
SEE ALSO
DIAGNOSTICS
Exit status is 0 if removals succeed or are declined, 1 for reported failures, 2 for usage errors, including no file operands.
BUGS
There is no trash or undelete facility. Recursive removal can stop partway after an error.
| September 19, 2026 | maux |