Formats & workflow

Redacting a folder without redacting the same file twice

A practical guide to redact a folder: where the data hides, what to remove, and how to verify the output.

Redact a folder: batch rules and exceptions

Redacting a folder without redacting the same file twice. A folder is not a flat list. It contains nested directories, duplicates, temporary files, archives and files that look the same but are not. The path is part of the record, and the output tree is part of the evidence.

What changes with this format

Walk the tree, hash each file, skip known duplicates, and mirror the output path. Keep a sidecar manifest with the original path, the hash, the policy and the report. Process archives separately so a nested file cannot hide.

Where the data hides

The page is only one layer. In this format, check:

The redaction flow

  1. Snapshot the folder and hash the files.
  2. Decide which extensions and subfolders are in scope.
  3. Process with a path-preserving output tree.
  4. Review the manifest and the skipped files.
  5. Delete the input copy according to the retention rule.

Controls to verify

  • An explicit include and exclude list.
  • Duplicate detection by hash, not by name.
  • Archive expansion with a depth limit.
  • A skipped-file report with a reason.
  • A path-preserving output so a reviewer can compare.

Retention and evidence

The folder may be synced, backed up or versioned elsewhere. A deletion inside the folder does not reach those copies. Decide what happens to the input tree, the output tree and the manifest, then test it.

Limits

Recursive jobs can hit permissions, long paths and unsupported formats. Nested archives can hide a file from a simple scan. A large folder is not a policy; the exceptions still need a reviewer.

How Veilbrook fits

Veilbrook can process a folder through a batch manifest, one document at a time, with a report per file. The tree walk and the duplicate policy are the parts you define.

What to ask before you build

What good looks like

A good redaction is boring: the document still serves its purpose, the identifiers are gone, the report matches the output, and a second person can repeat the check. The output opens in the recipient’s tool, the masked areas do not paste back, and the original is kept under a retention rule that someone owns.

Before you release

Open the output in the same tool the recipient will use. Select each masked area and paste it into a text editor. Search for every value you removed, including the header, the attachment, the comment and the OCR layer. Compare the report with the file and keep both. If a value survives, the job is not done.

Common mistakes

Questions

Can I redact a whole shared drive?

You can, but the permissions and the volume make it a project. Start with a bounded folder and a manifest.

What about archives?

Expand them with a depth limit and treat each member as a document. Otherwise the archive is a blind spot.

How do I review a folder?

Read the exception list, sample each document type, and compare the output tree with the manifest.