ttmv.sgm 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. <!-- $XConsortium: ttmv.sgm /main/6 1996/08/30 15:42:23 rws $ -->
  2. <!-- (c) Copyright 1995 Digital Equipment Corporation. -->
  3. <!-- (c) Copyright 1995 Hewlett-Packard Company. -->
  4. <!-- (c) Copyright 1995 International Business Machines Corp. -->
  5. <!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
  6. <!-- (c) Copyright 1995 Novell, Inc. -->
  7. <!-- (c) Copyright 1995 FUJITSU LIMITED. -->
  8. <!-- (c) Copyright 1995 Hitachi. -->
  9. <![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCDI.MAN3.rsml.1">]]>
  10. <![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN3.rsml.1">]]>
  11. <RefMeta>
  12. <RefEntryTitle>ttmv</RefEntryTitle>
  13. <ManVolNum>user cmd</ManVolNum>
  14. </RefMeta>
  15. <RefNameDiv>
  16. <RefName><Command>ttmv</Command></RefName>
  17. <RefPurpose>move or rename files and inform the ToolTalk service
  18. </RefPurpose>
  19. </RefNameDiv>
  20. <!-- $XConsortium: ttmv.sgm /main/6 1996/08/30 15:42:23 rws $-->
  21. <!-- CDE Common Source Format, Version 1.0.0-->
  22. <!-- (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
  23. <!-- (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
  24. <!-- (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
  25. <!-- (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
  26. <RefSynopsisDiv>
  27. <CmdSynopsis>
  28. <Command>ttmv</Command>
  29. <Arg Choice="opt">&minus;fL</Arg>
  30. <Arg><Replaceable>pathname1</Replaceable></Arg>
  31. <Arg><Replaceable>pathname2</Replaceable></Arg>
  32. <!-- -->
  33. </CmdSynopsis>
  34. <CmdSynopsis>
  35. <Command>ttmv</Command>
  36. <Arg Choice="opt">&minus;fL</Arg>
  37. <Arg><Replaceable>pathname</Replaceable></Arg>
  38. <Arg>.&thinsp;.&thinsp;.</Arg>
  39. <Arg><Replaceable>directory</Replaceable></Arg>
  40. <!-- -->
  41. </CmdSynopsis>
  42. <CmdSynopsis>
  43. <Command>ttmv</Command>
  44. <Arg>&minus;h</Arg>
  45. <Arg>&minus;v</Arg>
  46. </CmdSynopsis>
  47. </RefSynopsisDiv>
  48. <RefSect1>
  49. <Title>DESCRIPTION</Title>
  50. <Para>The
  51. <Command>ttmv</Command> utility
  52. invokes
  53. <Command>mv</Command>(1) to move files and directories around in the file system and informs
  54. ToolTalk about its actions so that the ToolTalk objects
  55. associated with those files and directories can also be moved.
  56. </Para>
  57. <Para>The
  58. <Command>ttmv</Command> utility
  59. moves the ToolTalk objects before it moves the files and does not
  60. check whether the file-moving operation will succeed before performing
  61. the object-moving operation.
  62. </Para>
  63. </RefSect1>
  64. <RefSect1>
  65. <Title>OPTIONS</Title>
  66. <![ %CDE.C.XO; [
  67. <Para>The
  68. <Command>ttmv</Command> utility supports the &str-Zu;.
  69. </Para>
  70. ]]>
  71. <Para>The following options are available:
  72. </Para>
  73. <VariableList>
  74. <VarListEntry>
  75. <Term><Literal>&minus;f</Literal></Term>
  76. <ListItem>
  77. <Para>Force.
  78. Do not report any errors, and pass the
  79. <Literal>&minus;f</Literal> option to
  80. <Command>mv</Command>(1).</Para>
  81. </ListItem>
  82. </VarListEntry>
  83. <VarListEntry>
  84. <Term><Literal>&minus;h</Literal></Term>
  85. <ListItem>
  86. <Para>Write a help message for invoking
  87. <Command>ttmv</Command> and then exit.
  88. </Para>
  89. </ListItem>
  90. </VarListEntry>
  91. <VarListEntry>
  92. <Term><Literal>&minus;L</Literal></Term>
  93. <ListItem>
  94. <Para>Move the ToolTalk objects of the files, but do not invoke
  95. <Command>mv</Command>(1) to move the actual files.
  96. </Para>
  97. </ListItem>
  98. </VarListEntry>
  99. <VarListEntry>
  100. <Term><Literal>&minus;v</Literal></Term>
  101. <ListItem>
  102. <Para>Write the version number of
  103. <Command>ttmv</Command> and then exit.
  104. </Para>
  105. </ListItem>
  106. </VarListEntry>
  107. </VariableList>
  108. <Para><![ %CDE.C.XO; [It is unspecified whether the
  109. <Literal>&minus;i</Literal> option to
  110. <Command>mv</Command>(1) is supported.
  111. ]]><![ %CDE.C.CDE; [The
  112. <Literal>&minus;i</Literal> option to
  113. <Command>cp</Command>(1) is not supported.
  114. ]]></Para>
  115. </RefSect1>
  116. <RefSect1>
  117. <Title>OPERANDS</Title>
  118. <Para>The following operands are supported:
  119. </Para>
  120. <VariableList>
  121. <VarListEntry>
  122. <Term><Emphasis>pathname1</Emphasis></Term>
  123. <ListItem>
  124. <Para>A pathname of a file to be moved.
  125. </Para>
  126. </ListItem>
  127. </VarListEntry>
  128. <VarListEntry>
  129. <Term><Emphasis>pathname2</Emphasis></Term>
  130. <ListItem>
  131. <Para>A pathname of an existing or nonexisting file,
  132. used for the output when a single file is moved.
  133. </Para>
  134. </ListItem>
  135. </VarListEntry>
  136. <VarListEntry>
  137. <Term><Emphasis>directory</Emphasis></Term>
  138. <ListItem>
  139. <Para>A pathname of a directory to contain the moved files.
  140. </Para>
  141. </ListItem>
  142. </VarListEntry>
  143. </VariableList>
  144. </RefSect1>
  145. <RefSect1>
  146. <Title>STDIN</Title>
  147. <Para>Not used.
  148. </Para>
  149. </RefSect1>
  150. <RefSect1>
  151. <Title>INPUT FILES</Title>
  152. <Para>The input files specified as operands can be of any file type.
  153. </Para>
  154. </RefSect1>
  155. <RefSect1>
  156. <Title>ENVIRONMENT VARIABLES</Title>
  157. <Para>The following environment variables affect the execution of
  158. <Command>ttmv</Command>:</Para>
  159. <VariableList>
  160. <VarListEntry>
  161. <Term><SystemItem Class="EnvironVar">LANG</SystemItem></Term>
  162. <ListItem>
  163. <Para>Provide a default value for the internationalization variables
  164. that are unset or null.
  165. If
  166. <SystemItem Class="EnvironVar">LANG</SystemItem> is unset or null, the corresponding value from the
  167. implementation-specific default locale will be used.
  168. If any of the internationalization variables contains an invalid setting, the
  169. utility behaves as if none of the variables had been defined.
  170. </Para>
  171. </ListItem>
  172. </VarListEntry>
  173. <VarListEntry>
  174. <Term><Emphasis>LC_ALL</Emphasis></Term>
  175. <ListItem>
  176. <Para>If set to a non-empty string value,
  177. override the values of all the other internationalization variables.
  178. </Para>
  179. </ListItem>
  180. </VarListEntry>
  181. <VarListEntry>
  182. <Term><Emphasis>LC_MESSAGES</Emphasis></Term>
  183. <ListItem>
  184. <Para>Determine the locale that is used to affect
  185. the format and contents of diagnostic
  186. messages written to standard error
  187. and informative messages written to standard output.
  188. </Para>
  189. </ListItem>
  190. </VarListEntry>
  191. <VarListEntry>
  192. <Term><SystemItem Class="EnvironVar">NLSPATH</SystemItem></Term>
  193. <ListItem>
  194. <Para>Determine the location of message catalogues
  195. for the processing of
  196. <Emphasis>LC_MESSAGES</Emphasis>.</Para>
  197. </ListItem>
  198. </VarListEntry>
  199. </VariableList>
  200. </RefSect1>
  201. <RefSect1>
  202. <Title>RESOURCES</Title>
  203. <Para>None.
  204. </Para>
  205. </RefSect1>
  206. <RefSect1>
  207. <Title>ASYNCHRONOUS EVENTS</Title>
  208. <![ %CDE.C.XO; [
  209. <Para>Default.
  210. </Para>
  211. ]]>
  212. <![ %CDE.C.CDE; [
  213. <Para>The
  214. <Command>ttmv</Command> utility takes the standard action for all signals.
  215. </Para>
  216. ]]>
  217. </RefSect1>
  218. <RefSect1>
  219. <Title>STDOUT</Title>
  220. <Para>When the
  221. <Literal>&minus;h</Literal> option is used,
  222. <Command>ttmv</Command> writes to standard output a help message
  223. in an unspecified format.
  224. </Para>
  225. <Para>When the
  226. <Literal>&minus;v</Literal> option is used,
  227. <Command>ttmv</Command> writes to standard output a version number
  228. in an unspecified format.
  229. </Para>
  230. </RefSect1>
  231. <RefSect1>
  232. <Title>STDERR</Title>
  233. <Para>Used only for diagnostic messages.
  234. </Para>
  235. </RefSect1>
  236. <RefSect1>
  237. <Title>OUTPUT FILES</Title>
  238. <Para>The output files can be of any type.
  239. </Para>
  240. </RefSect1>
  241. <RefSect1>
  242. <Title>EXTENDED DESCRIPTION</Title>
  243. <Para>None.
  244. </Para>
  245. </RefSect1>
  246. <RefSect1>
  247. <Title>EXIT STATUS</Title>
  248. <Para>The following exit values are returned:
  249. </Para>
  250. <VariableList>
  251. <VarListEntry>
  252. <Term>0</Term>
  253. <ListItem>
  254. <Para>All files and ToolTalk objects were moved successfully.
  255. </Para>
  256. </ListItem>
  257. </VarListEntry>
  258. <VarListEntry>
  259. <Term>>0</Term>
  260. <ListItem>
  261. <Para>An error occurred or the invoked
  262. <Command>mv</Command>(1) command exited with a non-zero value.
  263. </Para>
  264. </ListItem>
  265. </VarListEntry>
  266. </VariableList>
  267. </RefSect1>
  268. <RefSect1>
  269. <Title>CONSEQUENCES OF ERRORS</Title>
  270. <Para>Default.
  271. </Para>
  272. </RefSect1>
  273. <![ %CDE.C.CDE; [<RefSect1>
  274. <Title>FILES</Title>
  275. <VariableList>
  276. <VarListEntry>
  277. <Term>/mountpoint/TT_DB</Term>
  278. <ListItem>
  279. <!-- ex-TP-->
  280. <Para>The directory used as a database
  281. for the ToolTalk objects of files in the
  282. file system mounted at
  283. <Emphasis>/mountpoint</Emphasis>.</Para>
  284. </ListItem>
  285. </VarListEntry>
  286. </VariableList>
  287. </RefSect1>]]>
  288. <RefSect1>
  289. <Title>APPLICATION USAGE</Title>
  290. <Para>None.
  291. </Para>
  292. </RefSect1>
  293. <RefSect1>
  294. <Title>EXAMPLES</Title>
  295. <Para>None.
  296. </Para>
  297. </RefSect1>
  298. <RefSect1>
  299. <Title>SEE ALSO</Title>
  300. <Para><![ %CDE.C.CDE; [<Command>mv</Command>(1)]]><![ %CDE.C.XO; [<Command>mv</Command> in the &str-ZC;]]>,
  301. &cdeman.ttsession;.</Para>
  302. </RefSect1>
  303. </RefEntry>
  304. <!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->