CmdTrixDoc.tioga
Copyright Ó 1990 by Xerox Corporation. All rights reserved.
Bloomenthal, June 21, 1992 6:01 pm PDT
PCEDAR 2.0 — FOR INTERNAL XEROX USE ONLY
CmdTrix
Jules Bloomenthal
© Copyright 1985, 1990 Xerox Corporation. All rights reserved.
Abstract: CmdTrix is a set of convenience commands, primarily concerning the file system.
Created and Maintained by: Jules Bloomenthal:parc
Keywords: file system, file server, file names, directory, rename, capitalize, scroll
XEROX  Xerox Corporation
   Palo Alto Research Center
   3333 Coyote Hill Road
   Palo Alto, California 94304

For Internal Xerox Use Only
CmdTrix
The CmdTrix package contains a single command, CmdTrix, which provides miscellaneous functions for files and the Commander.
Usage: CmdTrix [-option]; options include:
calc <val> <* | /> <val> . . .
evaluate a simple expression.
capitalize <base>
capitalize first letter of all files beginning with <base>.
detach <list of files>
detach attached files.
difOpen <file base>
open the file <file Base>.dif.
fileBase <file>
print base name of a file.
huh
print recent MessageWindow messages.
multiRename <old base> <new base> [-i]
rename the highest versions of files beginning with <old base>;
-i for interactive mode (requires confirmation per file).
noExtraneousFiles <directory> [-m] [-i]
delete any file in the specified directory that does not exist in
the working directory. Only the file names need match;
version numbers, file lengths, time stamps are not checked.
-m for make believe mode (simply print, no delete);
-i for interactive mode (requires confirmation per file).
open <left | right> <file name pattern>
open the file(s) in the given column.
top
scroll typescript to top and set selection.
redundant <directory> [-m] [-i]
delete any file in the specified directory that also exists in
the working directory; only the file names need match,
version numbers, file lengths, time stamps are not checked.
-m for make believe mode (simply print, no delete);
-i for interactive mode (requires confirmation per file).
unDateDf <file name pattern>
remove self-referencing date from given df files; this allows one
to easily overcome the sModel complaint concerning obsolete dates.
updateDirectory <dir> [-m] [-i]
copy from <wdir> to <dir> files in <wdir> that don't exist in <dir> or are newer.
copy from <dir> to <wdir> files in <dir> that don't exist in <wdir> or are newer.
only file names need match; versions and file lengths are not checked.
-m: make believe (simply print, no copy);
-i: interactive (confirm per file).
-files <pattern> to examine only those files matching <pattern>
vuxify <file name pattern>
rename the specified files in accordance with vux
directory convention, creating the appropriate .case files.