{"id":22423405,"url":"https://github.com/prantlf/closest-file-names","last_synced_at":"2025-06-26T00:04:13.497Z","repository":{"id":150431622,"uuid":"484995328","full_name":"prantlf/closest-file-names","owner":"prantlf","description":"Helps finding the same or very similar file names in a directory.","archived":false,"fork":false,"pushed_at":"2022-04-24T10:31:06.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-26T00:03:42.422Z","etag":null,"topics":["compare","filenames","levenshtein-distance","same"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prantlf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-04-24T10:27:52.000Z","updated_at":"2023-03-19T18:46:33.000Z","dependencies_parsed_at":"2023-05-18T00:45:42.886Z","dependency_job_id":null,"html_url":"https://github.com/prantlf/closest-file-names","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/prantlf/closest-file-names","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fclosest-file-names","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fclosest-file-names/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fclosest-file-names/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fclosest-file-names/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prantlf","download_url":"https://codeload.github.com/prantlf/closest-file-names/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fclosest-file-names/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261973725,"owners_count":23238586,"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":["compare","filenames","levenshtein-distance","same"],"created_at":"2024-12-05T18:11:17.000Z","updated_at":"2025-06-26T00:04:13.472Z","avatar_url":"https://github.com/prantlf.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Find Closest File Names\n\nHelps finding the same or very similar file names in a directory. For every combination of names, it will print:\n\n1. First name and file size in parentheses\n2. Second name and file size in parentheses\n3. Levenshtein distance between the normalised names\n4. First normalised name\n5. Second normalised name\n6. Empty line\n\nThe name combinations will be sorted by the levenshtein distance. The exactly same normalised strings will have the distance set to zero. The string normalisation converts the names to a sequence of words and removes special characters and particles.\n\n## Example\n\n```txt\n❯ ./closest-file-names .\n7 files\n21 combinations\n\ngo.mod (54)\nmain.go (3,833)\n3\ngo mod\ngo main\n\n.git (288)\nmain.go (3,833)\n5\ngit\ngo main\n\n.vscode (96)\ngo.mod (54)\n5\nvscode\ngo mod\n\n...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Fclosest-file-names","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprantlf%2Fclosest-file-names","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Fclosest-file-names/lists"}