The extract_segments command-line utility extracts the segments from the specified file(s), and writes them to separate files, one segment to a line. The output file name is the name of the input file, with a suffix (".segs.txt" by default) added. The syntax is as follows:
extract_segments.exe [-h] [-e extension] -f filename [filename ...]
- -e
- The extension to add to output files (optional).
- -f
- One or more files to process
- -h
- Show help for this command
Example:
extract_segments -e .segs.txt -f wordfile.doc excelfile.xls pptfile.ppt
Write the segments in "wordfile.doc", "excelfile.xls", and "pptfile.ppt" to the text files "wordfile.doc.segs.txt", "excelfile.xls.segs.txt", and "pptfile.ppt.segs.txt", one segment to a line.