PRMDIR(1P)
NAME
prmdir − remove a project directory
SYNOPSIS
prmdir [−fru] [{+−}T type[,type ...]] pdirname ...
DESCRIPTION
Prmdir deletes a project directory called pdirname. The directory must be empty.
If the −r option is specified, prmdir recursively deletes the entire contents of a project directory, and the directory itself. The user is asked to confirm the generated rm −r command before the directory is deleted. Subdirectories that are project root directories must be removed using rmproject before attempting to remove pdirname. Write permission is required in all subdirectories.
Prmdir may also be used to convert an existing project directory to a regular directory using the −u option.
OPTIONS
−fStands for force. No questions are asked. This option overrides any mode restrictions.
−rRecursively remove project directories.
−uUndefine a project directory and convert it to a regular directory.
−T type
Remove a type label from a project directory.
FILES
...Project link directory.
..._tempTemporary project link directory.
SEE ALSO
pmkdir(1P), rm(1), rmdir(1), rmproject(1P)
DIAGNOSTICS
The error message, “prmdir: project/... temporarily unavailable”, indicates that a ‘..._temp’ temporary project link directory exists. This could be because another user is altering the project link directory, or because a system crash terminated prmdir prematurely. If the latter case, then removing the temporary file will fix the problem.
Exit status 0 is normal. Exit status 1 indicates an error.
AUTHOR
Peter J. Nicklin
BUGS
If a project directory has already been removed by the rmdir or rm -r commands, that directory must be recreated using mkdir before prmdir will remove the directory from the project.