Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP ToolTalk Programmer's Guide > Chapter 5 Maintaining Files and Objects Referenced in ToolTalk Messages

ToolTalk-Enhanced Shell Commands

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Glossary

The ToolTalk-enhanced shell commands described in Table 5-1 first invoke the standard shell commands with which they are associated (for example, ttmv invokes mv) and then update the ToolTalk service with the file changes. It is necessary to use the ToolTalk-enhanced shell commands when working with files that contain ToolTalk objects.

Table 5-1 ToolTalk-Enhanced Shell Commands

CommandDefinitionSyntax
ttcpCopies files that contain objects.ttcpsource-filedestination-file
ttmvRenames files that contain objects.ttmvoldnew
ttrmRemoves files that contain objects.ttrmfile
ttrmdirRemoves empty directories that are associated with ToolTalk objects. You also use this command to create an object spec for a directory; for example, if a directory is mentioned in a file-scoped message. When an object spec is created, the path name of a file or directory is supplied. ttrmdirdirectory
tttarArchives and de-archives files that contain ToolTalk objects.tttar c|t|xpathname1pathname2

 

You can cause the ToolTalk-enhanced shell commands to be executed when the standard shell commands are invoked. To do this, alias the ToolTalk-enhanced shell commands in the shell startup file so that the enhanced commands appear as standard shell commands.

Table 5-2 ToolTalk-aware shell commands in .cshrc

alias mvttmv
alias cpttcp
alias rmttrm
alias rmdirttrmdir
alias tarttar

 

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.