PMDF System Manager's Guide


Previous Contents Index


CONVERT-Convert a file

Convert a file.

Syntax

CONVERT input-file output-file

Command Qualifiers Defaults
/CHECKSUM /NOCHECKSUM
/DEBUG /NODEBUG
/FTYPE=type See text
/FCREATOR=creator See text
/FDL=fdl-spec None
/LINE_LENGTH=value /LINE_LENGTH=0
/MPARAMETERS=param-list See text
/MSUBTYPE=type See text
Positional Qualifiers Defaults
/CHARSET=charset None
/ENCODING=encoding None
/FILENAME=name /NOFILENAME
/HEADER /NOHEADER
/MODE=mode None
/PARAMETERS=param-list None
/SUBTYPE=subtype None
/TYPE=type None

restrictions

None.

Parameters

input-file[,...]

A comma separated list of one or more text files to be converted. All specified input files are read and merged into a single output file.

output-file

The name of the output file to write.

Description

CONVERT is a utility to convert files from one format to another.


Command Qualifiers

/CHARSET=charset

Specify the character set for the part.

/CHECKSUM

/NOCHECKSUM (default)

/DEBUG

/NODEBUG (default)

Control whether or not to display debug output.

/ENCODING=encoding

Specify the encoding used for the part.

/FILENAME=name

/NOFILENAME (default)

Specify a file name to include in the MIME labelling.

/FTYPE=type

/FCREATOR=creator

/FDL=fdl-spec

/HEADER

/NOHEADER (default)

Specify whether MIME headers are present or should be written to the part. The default is /NOHEADER , MIME headers are neither looked for nor generated.

/LINE_LENGTH=value

/MODE=mode

Specify the conversion mode. The mode value may be any of CRATTRIBUTE , LFATTRIBUTE , CRLFATTRIBUTE , BLOCK , RECORD , TEXT , POSTSCRIPT , ENRICHED , FLOWED , HTML , DOUBLEAPPLE , SINGLEAPPLE , BINHEX , or VIRUSSCAN .

/MPARAMETERS=param-list

/MSUBTYPE=type

/PARAMETERS=param-list

/SUBTYPE=subtype

Specify the MIME subtype.

/TYPE=type

Specify the MIME type.

EXAMPLES

#1

$ PMDF CONVERT A.MACB/MODE=MACBINARY A.SINGLE/MODE=SINGLE
      

The command above is an example of converting a file from Macbinary format to Applesingle format; that is, this is an example of extracting just the data fork from the Macbinary format file.


Previous Next Contents Index