Production

Create Load File

Creates a Concordance DAT and an Opticon OPT load file for a production folder, grouping each document's native, image and text files by Bates number.

PRO Command line: load-file Version 1.0
A Pro toolIn the free edition it works on up to 25 documents per run, so you can try it on real work. Compare Free and Pro.

Point the tool at a production folder and it builds the load files a review platform needs. Files are grouped into documents by name: IMAGES\ABC0001.pdf, NATIVES\ABC0001.xlsx and TEXT\ABC0001.txt become one document, ABC0001. The end Bates number and page count come from the image's real page count.

The DAT has one record per document with BegBates, EndBates, PageCount, NativePath, ImagePath, TextPath, FileName, FileExtension, FileSize, MD5Hash and DateModifiedUtc. The OPT has one line per imaged document, giving its page count. Nothing in the production is changed.

Use it when

How to run it

  1. Arrange the production in one folder, with the images, natives and text in folders such as IMAGES, NATIVES and TEXT, each file named by its Bates number.
  2. Choose that folder as Input and an Output folder outside it.
  3. Set Volume (for example PROD001) and, if needed, Path prefix.
  4. Choose the Encoding the receiving platform expects, and whether to Include MD5 hash.
  5. Click Run, read the notes, then Open report.
  6. Copy loadfile.dat and loadfile.opt from the run folder into the production, renaming them if you wish.

Settings

Every setting has the same help beside it in the app. On the command line, pass each as --name value; ltk help load-file lists them.

Settings

SettingWhat it doesType and default
Volume
--volume
Volume name written in the OPT file, e.g. VOL001.
Written in the OPT's volume field. It cannot contain a comma.
text
VOL001
Path prefix
--path-prefix
Text put in front of every file path in the DAT/OPT, e.g. .\ or VOL001\. Paths are relative to the input folder.
Paths are written relative to the input folder, for example IMAGES\ABC0001.pdf. Put .\ or the volume folder name (such as PROD001\) here if the receiving platform expects paths to start that way. It cannot contain a comma.
text
empty
Encoding
--encoding
Utf8 (Relativity and most platforms) or Ansi (older Concordance workflows).
UTF-8 (with a byte-order mark) suits Relativity and most current platforms. ANSI is for older Concordance-style workflows; a path with characters ANSI cannot hold is listed in errors.csv.
choice: Utf8, Ansi
Utf8
Include MD5 hash
--md5
Include an MD5 hash of each document's native (or image if no native).
Hashes each document's native, or its image when there is no native. Turn it off to save time on a large production if the recipient does not need hashes.
yes/no
true

Common settings

SettingWhat it doesType 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/no
true
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. number
4

What you get

Each run creates its own folder inside the output folder, with the report load-file.csv, errors.csv and manifest.json (see Run folders and manifests).

Report columns

Check the result

Tips
  • Folder names decide each file's role first: a folder whose name contains NATIVE holds natives; TEXT or OCR holds text; IMAGES, PDF or PDFS holds images. Elsewhere, .pdf, .tif, .tiff, .jpg, .jpeg and .png are images, .txt is text and anything else is a native. So a native PDF in a NATIVES folder is not mistaken for an image.
  • EndBates is BegBates plus the page count, less one. This only works when the file name is a Bates number ending in digits; otherwise EndBates repeats BegBates.
  • Every file in the input is used. Remove anything that is not part of the production first.
Watch out for
  • Each file is one document. If a production has one TIFF per page (ABC0001.tif, ABC0002.tif…), each page becomes its own document; this tool expects one image file per document.
  • If a document has two files of the same kind with the same name (for example two ABC0001 natives in different folders), only the first in folder order is used and a note says how many documents this affected.

From the command line

The command line is part of LitTechKit Pro. See Command line.

ltk run load-file --input "D:\Matter\Productions\PROD001" --output "D:\Matter\LoadFiles" --volume PROD001 --encoding Utf8

Related tools