maux
Star on GitHub Buy me a coffee

Manual / rm

rm(1)

RM(1) General Commands Manual RM(1)

rm - remove files and directory trees

rm [-irf] file ...

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.

Prompt before each removal; only y or Y proceeds.
Ignore nonexistent operands. Other failures are still errors.
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.

/usr/man/RM this page

rmdir(1), chmod(1), licenses(1)

Exit status is 0 if removals succeed or are declined, 1 for reported failures, 2 for usage errors, including no file operands.

There is no trash or undelete facility. Recursive removal can stop partway after an error.

September 19, 2026 maux