Batch conversion of .brf, .doc, .pdf, or other files to text with EdSharp

  • From: Jamal Mazrui <empower@xxxxxxxxx>
  • To: programmingblind <programmingblind@xxxxxxxxxxxxx>
  • Date: Sun, 03 Jul 2011 10:08:05 -0400

Given the recent topic of converting .brf or .brl files to plain text, let me remind EdSharp users of the ability to convert multiple files in a single, batch operation, using the Text Convert command, Control+T. It examines each line of text for a file path. If no parent directory is specified, the file is assumed to be located in the directory of the previous file found. Thus, only the first file needs to include a full path.


You can either manually enter file paths, or generate a list of files with the Path List command, Control+Shift+P. It first prompts for a directory. After scanning the directory, it asks for what extensions to include among the ones that were found. You can just press Enter to accept all extensions, or edit the space separated list of extensions in the input box, e.g., leaving

doc pdf

in order to convert all .doc and .pdf files (a leading period before an extension is optional in that input box).

After you have a list of files, the Control+T command presents a similar dialog based on the extensions it finds in the current document. Press Enter to accept the extensions you specify for conversion, and initiate the batch process. Each file will be converted to a text file with the same path except for the .txt extension.

This is a convenient way of converting, say, a batch of .brf files downloaded from Bookshare or NLS. You can then read them in EdSharp or any viewing program for text files.

Jamal

__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: