RMPROJECT(1P)
NAME
rmproject − remove a project root directory
SYNOPSIS
rmproject [−fru] [{+−}T type[,type ...]] projectname ...
DESCRIPTION
Rmproject deletes a project called projectname. The project must be empty.
If the −r option is specified, rmproject recursively deletes the entire contents of a project root directory, and the directory itself. The user is asked to confirm the generated rm -r command before the project is deleted. Subdirectories that are project root directories must be removed using rmproject prior to removing projectname. Write permission is required in all subdirectories.
Rmproject may also be used to convert an existing project root directory to a regular directory using the −u option. However, subdirectories that are project root directories must be undefined using rmproject -u prior to undefining projectname.
OPTIONS
−fStands for force. No questions are asked. This option overrides any mode restrictions.
−rRecursively remove project directories.
−uUndefine a project root directory and convert it to a regular directory.
−T type
Remove a type label from a project root directory.
FILES
...Project link directory.
..._tempTemporary project link directory.
SEE ALSO
mkproject(1P), rm(1), rmdir(1)
DIAGNOSTICS
The error message, “rmproject: 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 rmproject prematurely. If the latter case, then removing the temporary file will fix the problem.
When attempting to remove a project, error message “rmproject: project/...: No such file or directory” followed by error message “rmproject: force removal by typing ‘rmproject -F projectname’ ” indicates that a project link directory is missing. In this case, projectname must be an absolute project pathname.
When attempting to undefine a project, error message “rmproject: project/...: No such file or directory” followed by error message “rmproject: force conversion by typing ‘rmproject -uF projectname’ ” indicates that a project link directory is missing. In this case, projectname must be an absolute project pathname.
Exit status 0 is normal. Exit status 1 indicates an error.
AUTHOR
Peter J. Nicklin
BUGS
There is no restriction on overlapping project hierarchies. A project root directory that is part of another project hierarchy will be removed without complaint.
If a project root directory has already been removed by the rmdir or rm -r commands, that directory must be recreated using mkdir before rmproject will remove the project.