{"id":19140745,"url":"https://github.com/tijn/dupfinder","last_synced_at":"2025-10-14T04:41:58.187Z","repository":{"id":66758491,"uuid":"70574136","full_name":"tijn/dupfinder","owner":"tijn","description":"find duplicates of a file by its content","archived":false,"fork":false,"pushed_at":"2016-12-18T20:10:06.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-03T15:12:12.440Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tijn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-11T08:47:09.000Z","updated_at":"2016-12-15T11:25:02.000Z","dependencies_parsed_at":"2023-07-23T21:31:06.924Z","dependency_job_id":null,"html_url":"https://github.com/tijn/dupfinder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tijn%2Fdupfinder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tijn%2Fdupfinder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tijn%2Fdupfinder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tijn%2Fdupfinder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tijn","download_url":"https://codeload.github.com/tijn/dupfinder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240222499,"owners_count":19767458,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T07:18:38.369Z","updated_at":"2025-09-21T23:19:27.424Z","avatar_url":"https://github.com/tijn.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dupfinder\n\nA tool for finding duplicate files.\n\n# Usage\n\nGive it a directory to search in (called the haystack) and one or more files to search for (called the needles).\n\n    find-dups [options] haystack needle...\n\n    -h, --help\n    -v, --[no-]verbose\n    -p, --print         Print 'needle', 'hay' or 'separator'; should be a comma-separated list (no spaces!)\n\n# Why?\n\nI found some old backups and I was wondering which things I allready transferred to the new computer. There were many files so I needed a program to help me with this. I found some existing solutions that would start off by calculating a hash of every single file on my hard drive. Undoubtedly to create an index that later can be searched using the contents of the \"needles\". I decided that I could postpone the heavy calculation until I found two files with the exact same size. (If the size is different, the file contents must logically be different too.) This resulted in a huge speed increase since fetching the size of a file a really cheap operation compared to calculating the hash of some file's contents.\n\nThe program keeps a big list in memory of all the files you tell it to look for. We have gigabytes of memory these days and it proved not to be a problem at all for me.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftijn%2Fdupfinder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftijn%2Fdupfinder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftijn%2Fdupfinder/lists"}