E.1 The udx Switches

Many udx options are controlled by command-line switches. The pair that control overall processing are:

By default, the converted file replaces the original file at the end of the process. If you want it to go to a different file, use:

To log error reports to a file, instead of sending them to stderr on the console, use -e logfile.txt, which can have an absolute or relative path.

After choosing the processing, these switches override Options settings in udx.ini:

Switches have a cumulative effect, and apply to the following source filename(s). For example, -o ..\full myminsrc.mxd -m -o ..\min myfullsrc.mxd creates a full-tagged version of the first file in ..\full\myminsrc.mxd and a minimized version fo the second in ..\min\myfullsrc.mxd. If you need to change any of the -s switches in between, -n reverses the effect of the previous matching -s; for example, -nst reverses a preceding -st.

If the source file name contains a wildcard, that is typically expanded by the shell into a series of matching names. Each is then processed using the same preceding switches. Make sure that you use the -o path switch so that the results are written to different files.

Finally, the -h and -? switches both do the same thing: provide help for the switches in the console window.

Previous Topic:  Appendix E. The udx Utility

Next Topic:  E.2 The udx.ini File

Parent Topic:  Appendix E. The udx Utility

Sibling Topics:

E.2 The udx.ini File

E.3 The <udx> Tag