ttrm(1)

ttrm, ttrmdir - remove files or directories in a ToolTalk-safe way.

As shipped in IRIX 6.5.5. Unchanged since IRIX 6.5.

NAME
     ttrm, ttrmdir - remove files or directories in a ToolTalk-safe way.

SYNOPSIS
     ttrm [ - ] [ -frL ] pathname ...
     ttrmdir directory ...
     ttrm[dir] -v
     ttrm[dir] -h

DESCRIPTION
     ttrm invokes rm(1) or rmdir(1) to remove files and directories and
     informs ToolTalk about its actions so that the TT objects associated with
     the deleted files and directories can be deleted at the same time.

OPTIONS
     -    Treat the following arguments as filenames so that you can specify
          filenames starting with a minus.

     -f   Force. Do not report any errors, and pass the -f option to rm(1).

     -r   Recursively delete the TT objects of any directories named, and pass
          the -r option to rm(1).

     -L   Remove the TT objects of the files or directories, but do not invoke
          rm(1) or rmdir(1) to remove the actual files or directories.

     -v   Print the version of the command.

     -h   Print usage information for the command.

FILES
     /mountpoint/TT_DB     This directory is used as a database for the
                           ToolTalk objects of files in the filesystem mounted
                           at /mountpoint.

SEE ALSO
     rm(1), rmdir(1), ttsession(1)

BUGS
     The -i (interactive) option of rm(1) is not supported.

     ttrm and ttrmdir remove the TT objects before they remove the files and
     do minimal checking of whether the latter operation will succeed before
     performing the former.