Naming files and folders for a document archive

Updated

A scanned archive is only useful if you can find things in it years later, possibly after a move to another storage system and with a different person in charge. The scheme below is deliberately dull, and that is its main virtue. It has survived two migrations in the collections I have worked with.

Principles

A file name pattern that works

The pattern in the figure is date, document type, running number and part: 2026-03-12_inv_0417_p01.pdf. The date is the document date, not the scan date, because that is what people remember. Type codes come from a short list kept in one text file (inv, con, let, rep, frm), and the running number is unique within the type and year. Multi-page documents either live in one PDF or, if they must stay as images, get a part suffix.

If a document has no readable date, use the best estimate and add the suffix "est" to the date field, for example 1987-est. A rough but honest value beats a blank or a made-up exact day.

Folder structure

Keep the tree shallow. Two or three levels are enough: year, then category, with an optional third level for a project or client. Deep trees hide files and invite duplicate folders with slightly different spellings. Prefer broad folders and rely on file names and a catalogue spreadsheet for fine detail.

Separate the stages of the workflow at the top level: incoming for raw scans, work for files being corrected, masters for validated originals and access for copies people actually open. A file moves one way through these folders and never back.

The catalogue

A flat table with one row per document does more than any folder scheme. Useful columns: file name, document date, type, short description, source box or shelf location, scan batch and checksum. It can be a plain CSV file that any tool opens. Update it as part of the batch routine, not afterwards.

Renaming safely

  1. Work on a copy of the batch, never on the only copy.
  2. Generate new names with a script from the catalogue so that the mapping is recorded.
  3. Check that the count of files before and after match, and that no two files received the same name.
  4. Store the old-to-new mapping with the batch notes for at least as long as the archive exists.

Write the naming rules in a single page and keep it in the archive root. If the next person can read it in five minutes and apply it without asking you, the scheme has done its job.

A shallow folder tree by year and category next to an example file name pattern
A shallow tree and a predictable file name carry most of the structure.
expertscan.com — notes on scanning, OCR and document archives© 2026