{"id":17947620,"url":"https://github.com/f1x3d/directory.deduplicate","last_synced_at":"2026-05-17T17:39:29.634Z","repository":{"id":259113367,"uuid":"867681200","full_name":"f1x3d/Directory.Deduplicate","owner":"f1x3d","description":"A CLI tool to find and remove duplicate files inside a directory","archived":false,"fork":false,"pushed_at":"2024-10-22T23:33:39.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-16T16:58:22.131Z","etag":null,"topics":["cli","command-line","csharp","dotnet","dotnet-core","dotnet-tool","hacktoberfest","native-aot"],"latest_commit_sha":null,"homepage":"","language":"C#","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/f1x3d.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":"2024-10-04T14:13:54.000Z","updated_at":"2024-10-23T00:31:49.000Z","dependencies_parsed_at":"2024-10-23T04:56:07.191Z","dependency_job_id":null,"html_url":"https://github.com/f1x3d/Directory.Deduplicate","commit_stats":null,"previous_names":["f1x3d/directory.deduplicate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f1x3d%2FDirectory.Deduplicate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f1x3d%2FDirectory.Deduplicate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f1x3d%2FDirectory.Deduplicate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f1x3d%2FDirectory.Deduplicate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f1x3d","download_url":"https://codeload.github.com/f1x3d/Directory.Deduplicate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229998137,"owners_count":18157188,"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":["cli","command-line","csharp","dotnet","dotnet-core","dotnet-tool","hacktoberfest","native-aot"],"created_at":"2024-10-29T08:06:02.158Z","updated_at":"2026-05-17T17:39:29.564Z","avatar_url":"https://github.com/f1x3d.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Directory.Deduplicate\n\n[![NuGet](https://img.shields.io/nuget/v/Directory.Deduplicate.Cli?logo=nuget\u0026label=Directory.Deduplicate.Cli)](https://nuget.org/packages/Directory.Deduplicate.Cli)\n\nA CLI tool to find and remove duplicate files inside a directory.\n\n# Installation\n\n1. [Download the latest release binary](https://github.com/f1x3d/Directory.Deduplicate/releases/latest)\n\n2. Install as a global .NET tool:\n\n   ```\n   dotnet tool install --global Directory.Deduplicate.Cli\n   ```\n\n# Usage\n\n```\nUsage:\n  dedupe \u003cdirectory\u003e [options]\n\nArguments:\n  \u003cdirectory\u003e  Directory to scan for duplicates\n\nOptions:\n  --sort-by \u003cModifiedTime|Name\u003e (REQUIRED)\n    Property to sort by when determining the file copy to keep\n\n  --sort-direction \u003cAscending|Descending\u003e (REQUIRED)\n    Sort direction when determining the file copy to keep. The first file in  the sorted list will be kept\n\n  --force\n    Delete duplicate files. A dry run is performed without this option specified [default: False]\n\n  -r, --recursive\n    Scan sub-directories recursively [default: False]\n\n  -v, --verbose\n    Print file attributes on match [default: False]\n\n  --version\n    Show version information\n\n  -?, -h, --help\n    Show help and usage information\n```\n\n# Examples\n\n* Find and delete all duplicates under the `photos` folder and its sub-folders, keeping the oldest file:\n\n   ```\n   dedupe photos --recursive --force --sort-by ModifiedTime --sort-direction Ascending\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff1x3d%2Fdirectory.deduplicate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff1x3d%2Fdirectory.deduplicate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff1x3d%2Fdirectory.deduplicate/lists"}