Find duplicate files by content without deleting originals
Use the built-in files to distinguish identical contents from matching filenames or sizes.
Bring the candidate files into one session, group them by byte size, and compare complete SHA-256 hashes before choosing which copies to exclude from the ZIP. In the practice set, Brief.txt and Brief copy.txt matched by content, while another Brief.txt and the two equal-length notes had different hashes. Review the matching group and its paths, keep the copy that fits the delivery, and confirm the excluded entry in the inventory while retaining your original files and reviewing the actual archive before you send it.
What to look for
Use this guide when names suggest the same file appears several times, when you copy a project folder from more than one location, or when several records happen to have the same byte size. An updated document can arrive under the older filename. A colleague can rename a copy without editing its bytes. Both cases call for checking the contents before deciding which file belongs in the handoff.
This is a file comparison workflow. Use it when the question is whether whole files match exactly. A decision about whether two drafts express the same idea, whether pictures look alike, or whether order records in a table repeat requires its own review. Begin by deciding what the recipient needs in the archive and keep working originals available.

Why it happens
A filename is a label. A size check screens candidate files for whole-file equality. If file lengths differ, their byte sequences differ. Files of equal length still need a content check, so the workspace calculates SHA-256 over every readable byte of candidates. The exact-copy view uses completed matching hashes within the same size group.
Before you begin
Download and extract duplicate-inputs.zip into a working folder. It contains five small text files. The original/Brief.txt and transfer/Brief copy.txt files contain A considered handoff. followed by a newline. Another folder, other, has its own Brief.txt with B at the start. All three of those files are 22 bytes. The two other files, left-note.txt and right-note.txt, contain abc and abd plus a newline, and are both 4 bytes.
Keep the paths with the names. The two files named Brief.txt live in different folders and only one of them belongs in the confirmed group. Use the group and row details together so you can distinguish them when reviewing the output. Decide which matching copy you intend to retain before using the automatic choice.
Steps
Import the comparison set together.
Use Add folder if the file picker supports it, or select the practice files in the same workspace session. Folder import helps you keep the paths visible when names repeat. Check that the source list includes both Brief.txt entries, Brief copy.txt and the two notes. If you import just one side of a suspected pair, the report cannot compare it to a file that is still outside the current session.
- For your own delivery, choose a coherent set rather than repeatedly importing the same folder.
- Keep a short record of which source locations you reviewed and the intended project revision.
- If a file arrives after the check, add it and rerun the comparison before making another decision about duplicates.
Run the content check and confirm completion.
Open Duplicates and select Find duplicate files. The lab screened the five files by their byte sizes. All five were candidates because each shared its size with another entry. The matching group contains just original/Brief.txt and transfer/Brief copy.txt. Compare both their lengths and their full digest in the inventory. The second Brief.txt has the same length and another hash. The two notes also have separate hashes despite parts of their text and their lengths matching.
- Watch for progress or read errors in the interface.
- Files without a completed hash require review.
- For a large set, confirm the progress has settled before treating a candidate as verified.
- When you cancel a check, keep the files that are still unchecked in your review rather than drawing a conclusion about their contents from the remaining rows.
Review the group and decide which copy to keep.
Choose Exact copies in the file filter to focus on the matching group. Inspect the original paths before changing inclusion. Use Keep one copy per group in ZIP after checking that the order and selections will preserve the intended version. This control keeps the first currently included member of a verified group and excludes other included copies. A copy you already unchecked stays excluded unless you deliberately change its selection.
- In the test, the original brief was first and the transfer copy was excluded.
- txt and both notes remained included.
- Switch back to the full view and compare the choices with your expected delivery.
- If the preferred copy is in a different folder, set the checkboxes deliberately and verify the group again before downloading.
Record the selection so it can be audited.
Open Info and export the CSV inventory if the recipient needs a separate record, or include it with the ZIP. Read the Original path, Export path, Bytes, SHA-256 and Included columns together. The inventory can report a filename and its hash even when the corresponding file is excluded from the ZIP. Review whether it is appropriate to share that context before sending the manifest.
- Use the saved duplicate inventory to inspect the full digests. In the exercise, it records five input rows and flags the transfer copy as excluded. Check blank digest fields when you run a different sample. A blank digest indicates that the contents still need a completed review if you want to make a hash-based decision.
Reopen the actual ZIP and verify the intended set.
Export a fresh ZIP from the reviewed selection. Open it or extract it into a clean folder. Compare the entry names with the Included rows. The tested result contains four selected files plus the inventory. The transfer copy is absent from the payload. Each included entry matches its source digest, including both distinct notes and the other file named Brief.txt.
- If you selected the wrong copy in the workspace, use Undo before exporting and check the restored selection.
- In the browser exercise the count returned from four included files to five.
- Keep the original inputs until the recipient confirms the delivery.
- If any file was unreadable during hashing, re-import a readable source and check again before excluding it automatically.
Check your result
Check the two matching original paths, the equal digest and the expected 22-byte length. Then check the other 22-byte Brief.txt and confirm its digest differs. Verify that left-note.txt and right-note.txt both measure 4 bytes and disagree in digest. These checks show exactly why names, matching lengths and partly matching text are useful clues but insufficient evidence for the decision to exclude a whole file.
Reconcile the inventory and ZIP. The original and other brief paths and both notes should remain present. Compare their saved bytes or digests against the sources. The script opened the actual archive and verified every included entry. The measurement record gives the full values for all five input paths, so you can repeat the check with the published files.
| File | Bytes | SHA-256 prefix | Included |
|---|---|---|---|
| original/Brief.txt | 22 | 26eaa6c611c0 | Yes |
| transfer/Brief copy.txt | 22 | 26eaa6c611c0 | No |
| other/Brief.txt | 22 | b61e6f17c975 | Yes |
| left-note.txt | 4 | edeaaff3f177 | Yes |
| right-note.txt | 4 | b10bd3130c1c | Yes |
Common mistakes
Removing a file because the name repeats. Keep the original paths in view and run the content check. The two Brief.txt entries in different folders had different hashes.
Treating equal size or a shared prefix as evidence of equality. Hash the complete files. The two short notes show how easily equal sizes can hide a difference.
Ignoring a failed read or a blank hash. Review the item’s status, reselect a readable copy and rerun the check before excluding it.
Sending an inventory without checking its Included column. Inspect the actual ZIP paths and use the include status to distinguish what the recipient gets from what was reviewed.
Limitations
The matched digest is a practical identifier for exact contents in this workflow. Select copies based on the needs of the delivery and keep originals available. Browser operations change the ZIP selection and export paths. Treat visual similarity or comparison of document revisions as separate checks.
Test record
Tested on 2026-11-23 with Veylunex File Workspace 1.0.0 under Node.js v26.4.0. We also exercised the workflow in Google Chrome 157.0.8103.80. We hashed 5 candidates and found 1 group. Both same-name and equal-length comparisons were checked against their full digests before exporting.
The measurement record lists the local outputs and their SHA-256 digests.
Tested in
Questions
Can files with different names be exact copies?
Yes. Brief.txt and Brief copy.txt in the measured set contain the same complete byte sequence and share a digest. Review the paths when deciding which copy belongs in the ZIP.
Can a partially edited copy remain the same size?
Yes. The compared briefs with different first letters are both 22 bytes. The two short notes also share a length. Check the full digest to distinguish either pair.
What does Keep one copy do to the files on my disk?
It updates the export selection. The new ZIP contains the checked entries, and your originals remain available for a later review. Use Undo in the open workspace if the choice should be reversed.
What if I prefer a different matching copy?
Review the group and its paths, then set the include choices explicitly and inspect the planned ZIP paths. Check the selection again in the final archive before delivering it.