Organizing Data Through the Lens of Deduplication
anishathalye.com
anishathalye.com
There are tons of programs out there designed to find dupes, but most just spit out a huge list of duplicates and don't help with the work that comes after that. This was problematic (we had ~500k dupes), so I wrote a small program to help me. The approach, at a high level, is to provide duplicate-aware analogs of coreutils, so e.g. a `psc ls` highlights duplicates and a `psc rm` deletes files only if they have duplicates elsewhere.
I thought it was a somewhat interesting problem and solution, so I wrote a little write-up of the experience. I'm curious to hear if any of you have faced similar problems, and how exactly you approached organizing/de-duping data.