File Tools

File Tools includes the following scripts:

Check Multiple File Column Headers

Creates a report of column names across multiple delimited (CSV/DAT) based files.

Source Folder

  • Source Folder ("Source directory containing delimited text files to retrieve field names from.")
  • Search Option ("Specify top directory folder or top directory and all sub-directories.")
  • Search Pattern ("Specify file extension search pattern.")

Report File

  • Field Report File

Delete Resources

Deletes resource files from documents.

Source Folder

  • Source Folder ("Source directory containing delimited text files to retrieve field names from.")
  • Search Option ("Specify top directory folder or top directory and all sub-directories.")
  • Search Pattern ("Specify file extension search pattern.")

Report File

  • Report File

Detect Text Encoding

Detects the encoding of text files across a list of documents.

Setup

  • Text Encoding Field

Extract Bates from Text

Extracts bates numbers from text files.

Bates Setup

  • Bates Prefix ("Enter the entire prefix of the bates number, including any spaces or punctuation.")
  • Bates Length ("Bates Setup")
  • Output Beg Doc Field
  • Output All Bates Field

Field to Text Files

Export a data field to new or existing text files.

Source Options

  • Skip Documents With Text ("If enabled, will skip the document if it has text file links.")
  • Data Field ("The value of this field will output into the exported text file.")
  • Output Encoding ("Encoding to use for the exported text files.")

Text Settings

  • Replace New Line Char ("Optionally replace a string from the field with a new line in the text file.")

File Settings

  • Delete Existing Text ("Deletes any existing text files for the document.")
  • Overwrite Existing Text ("Overwrites the document's existing text file.")
  • Output Folder ("Output directory for the text file if OverwriteExistingText is disabled or " + "the document does not have a linked text file.")
  • OutputTextFileNameField ("A field value to use for saving the new text files. This is not used if a text file is being overwritten.")

Page IDs to Text Files

Add pages identifiers (bates numbers) to document text files.

Setup

  • Template
  • Delimiter
  • Placement

Populate Native File Dates

Populates file created and modified dates for loaded native files.

Rename Confidential Natives

Renames native files to include a confidential designation.

Source Field

  • Confidential Field ("Files containing confidential text to append to the end of the filename.")

Output Field (optional)

  • Native Path Field ("Output field containing the revised native file path.")

Rename File Resources

Renames files resources to match current document and page identifier.

Resources

  • Rename Natives ("Files will be renamed to match the current DocID* field")
  • Rename Pages ("Files will be renamed matching the assigned Page Identifier.")
  • Rename Text ("Files will be renamed to match the current DocID* field.")

Mode

  • Rename Mode ("Set to either rename files in current directory or move to new directory.")

New Folder

  • New Folder Find ("Find this path to replace with the move folder setting.")
  • New Folder Replace ("Replace this found path with this path setting.")

Advanced

  • Max Parallel Tasks ("The maximum number of concurrent tasks.")

Strip Disclaimer Text

Strips text data from a document's loaded text file.

Setup

  • Remove Text

Text Files to Field

Imports text file contents to a document field.

Field Settings

  • Output Field Name ("The name of the field that will contain the text file contents.")

Text Settings

  • Auto Detect Encoding ("Enable to turn on encoding detection (slower); disable to use the fallback encoding instead.")
  • Fallback Encoding ("Encoding used if AutoDetectEncoding is disabled or if encoding detection fails.")
  • Replace New Lines With ("Optionally replaces any new lines (line breaks) in the text file with this value. Set to blank/empty to ignore.")