Relativity Export Formatter
Turns a Relativity export (documents plus a CSV or DAT index) into a hand-over set: a hyperlinked Excel index and a single Documents folder holding a verified copy of every document.
A Relativity export usually arrives as an index file and documents scattered through numbered sub-folders, which is awkward for a client or counsel to use. This tool reads the index, copies every document it refers to into one flat Documents folder, and writes Index.xlsx with every column of the index kept as text. In the workbook, the path column points to the new copy and the link column (usually Control Number or Bates Begin) is a hyperlink that opens it.
Each copy is verified against the original by MD5, and keeps the original's dates. Rows whose document cannot be found are kept in the workbook with their original path and no link. The export itself is not changed.
Use it when
- Sending exported documents to a client, counsel or expert who does not use a review platform.
- Preparing a set of documents that must open from a spreadsheet on any computer, or from a USB drive.
- Tidying an export whose documents are spread across many folders.
How to run it
- Choose the export folder (the folder holding the index and the exported documents) as Input.
- Choose an Output folder outside it.
- Leave Index file empty if the export folder's top level holds just one
.csvor.dat; otherwise choose the index. - Leave Index format, Path column and Link column at their defaults for a first run.
- Click Run and read the notes, which name the path and link columns used.
- Click Open report and look for any row not marked Copied.
- Hand over the run's
filesfolder, which holdsIndex.xlsxandDocumentsside by side.
Settings
Every setting has the same help beside it in the app. On the command line, pass each as --name value; ltk help relativity-formatter lists them.
Settings
| Setting | What it does | Type and default |
|---|---|---|
Index file--index-file |
The export's index (.csv or .dat). Empty: the single .csv or .dat in the export folder's top level is used. When empty, the tool uses the single .csv or .dat at the top level of the export folder. If there are none or several, it stops and asks you to choose. |
file empty |
Index format--format |
Auto (default) recognises a Concordance DAT (þ quotes, \x14 delimiter) and otherwise reads a comma-separated CSV. Choose Csv or Dat to force one. Auto reads the index as a Concordance DAT if it uses the ASCII 20 delimiter, and otherwise as a comma-separated CSV. Choose Csv or Dat only if Auto gets it wrong. |
choice: Auto, Csv, DatAuto |
Path column--path-column |
Column holding each document's path in the export (e.g. FILE_PATH or Native File). Empty: the column whose values point to files in the export folder is found automatically. When empty, the tool finds the column whose values point to files in the export, preferring usual names such as FILE_PATH or Native File. The notes say which column it chose and how many rows lead to files. Name the column here to use another, for example a PDF or image path column. |
text empty |
Link column--link-column |
Column that becomes the hyperlink to the document. Empty: the first column (usually Control Number or Bates Begin). When empty, the first column becomes the link, which in most exports is Control Number or Bates Begin. |
text empty |
Common settings
| Setting | What it does | Type and default |
|---|---|---|
Input required--input |
Folder (or single file) to read. It is opened read-only and never modified. | folder empty |
Output required--output |
Folder for reports. Must not be inside the input folder. Each run gets its own sub-folder. | folder empty |
Recurse--recurse |
Include sub-folders. | yes/notrue |
Extensions--extensions |
Only process these extensions (e.g. .pdf, .docx). Empty means the tool's default set. | list empty |
Parallelism--parallelism |
Files processed at once. Use 1-2 for spinning disks or network shares. | number4 |
What you get
Each run creates its own folder inside the output folder, with the report relativity-formatter.csv, errors.csv and manifest.json (see Run folders and manifests).
files\Index.xlsx: The index, every value kept as text (so leading zeros and long numbers are not altered), with the path column changed toDocuments\<file name>and the link column hyperlinked to it. The links are relative.files\Documents\…: One verified copy of each document referred to, all in one folder. If two documents have the same file name, the later one is numbered rather than overwritten.relativity-formatter.csv: One row per index row: IndexRow, LinkValue, OriginalPath, NewPath, Status (Copied, Missing, Outside export folder, No path or Error), the copy's MD5 and Detail.
Report columns
IndexRowLinkValueOriginalPathNewPathStatusMD5Detail
Check the result
- Read the notes for rows that are missing, outside the export folder, without a path or not copied, and for cells cut short or cleaned for Excel.
- Filter the report on Status and follow up anything other than Copied. Copy errors are also in errors.csv.
- Open
Index.xlsxfrom thefilesfolder and click a few links.
- When several index rows refer to the same file, it is copied once; the later rows say "Same document as index row …".
- Paths in the index are read relative to the export folder and to the index's own folder, so both common export layouts work.
- Very long values (such as extracted text in a column) are cut to Excel's cell limit in
Index.xlsx; a note gives the count. The original index is unchanged.
- Keep
Index.xlsxand theDocumentsfolder together: the links are relative and stop working if they are separated. - Documents referred to by a path outside the export folder are never copied. Their rows stay in the workbook without a link.
- An index with more rows or columns than an Excel sheet can hold stops the run before anything is copied. Split the export into smaller sets.
From the command line
The command line is part of LitTechKit Pro. See Command line.
ltk run relativity-formatter --input "D:\Matter\Exports\Export_20261120" --output "D:\Matter\Handover" --link-column "Control Number"
Related tools
- Hyperlink Index: Makes a linked copy of an Excel or Word index/privilege log in which every document ID or file name links to the matching file.
- Convert Load File: Converts load files: DAT, CSV, tab and Excel data files into each other, and OPT into LFP or back. Can also keep, order and rename fields, rewrite paths, set the volume and change the encoding.
- Check Load File: Checks a production's DAT and OPT/LFP load files: missing images, natives and text, broken lines, duplicate or overlapping Bates numbers, page counts that disagree, and files nothing refers to.