
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.
Part of batch redaction and verification. For the adjacent case, read bulk redact documents and true redaction.
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:
- Nested archives and compressed files
- Duplicate names in different subfolders
- Hidden and temporary files
- Symlinks and shortcuts
- Files synced from a shared drive
The redaction flow
- Snapshot the folder and hash the files.
- Decide which extensions and subfolders are in scope.
- Process with a path-preserving output tree.
- Review the manifest and the skipped files.
- 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
- Does it recurse by default?
- How are archives handled?
- What happens to skipped files?
- Is the output path preserved?
- How are duplicates detected?
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
- Covering text instead of replacing it.
- Checking the body but not the header or the attachment.
- Treating a successful export as a reviewed file.
- Calling a masked document anonymous.
- Leaving the original in a shared folder.