etools extract file.dct [-key key] [-data file.xml] [-audio prefix] [-audiodec file.wav] [-attach prefix]
The arguments are:
- file.dct: Specifies the file path of the dictation file to read.
- -key (optional): If supplied, the dictation is decrypted using "key" as the decryption key.
- -data (optional): If supplied, dictation meta-data is written to the file path "file.xml" as XML data. If not supplied, the XML data is written to the standard output pipe.
- -audio (optional): If supplied, the audio contained in the dictation file is extracted as-is to one or more files using the file name format "prefix-XXX.wav", where "XXX" is the audio file number (starting at 000). The audio is not decoded from it's original codec.
- -audiodec (optional): If supplied, the audio contained in the dictation file is extracted to the file path "file.wav". The audio is decoded from it's original codec to 16-bit PCM WAV format. If the original audio was stored in multiple audio files in the dictation file then they will become extra channels in the output file. Note that this may result in a WAV file with more than two channels.
- -attach (optional): If supplied, any files attached to the dictation are extracted to files using the file name format "prefix-XXX-name.xyz", where "XXX" is the attachment number (starting at 000).