Inspiration
We wanted to answer a common question after archiving a project on a NAS: is another copy still taking up space in a different share?
What it does
Cross-Share Duplicate Audit finds identical files across selected NAS shares, even when they have different names. It shows where each copy lives, suggests which one to keep, and estimates how much space you could reclaim. On request, it also compares document drafts and shows what changed.
How we built it
We built a Uliya skill for UGREEN NAS that groups files by size, then checks candidates across shares using SHA-256 hashes. The audit runs locally by default and gives users a report to review before they decide what to do with the files.
Challenges we ran into
We had to account for unreadable files and scans that might cover only part of a large share. Comparing drafts also gets expensive quickly: two shares with 100 documents each can produce 10,000 pairs.
Accomplishments that we're proud of
The skill passed static validation. Its report shows the paths for each confirmed duplicate and recommends a copy to keep based on the user’s preferred share.
What we learned
File names are unreliable evidence of duplication. A content hash can confirm an exact copy, while excerpts help users judge whether two documents are related drafts.
What's next for NAS Scout — Duplicate File Audit for UGREEN NAS
We’ll test the skill on a live UGREEN NAS and measure how much it can cover in one run across larger shares, especially when comparing every eligible document pair.
Built With
- markdown
- uliya