{"id":16687997,"url":"https://github.com/danielpclark/dfm","last_synced_at":"2025-04-10T00:32:46.813Z","repository":{"id":56844201,"uuid":"20826328","full_name":"danielpclark/dfm","owner":"danielpclark","description":"Duplicate File Manager","archived":false,"fork":false,"pushed_at":"2017-01-25T19:58:08.000Z","size":332,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-26T02:20:58.014Z","etag":null,"topics":["duplicates","file-indexing","md5","recursively-search"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/danielpclark.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}},"created_at":"2014-06-14T06:09:23.000Z","updated_at":"2023-09-08T16:48:16.000Z","dependencies_parsed_at":"2022-08-26T10:50:16.339Z","dependency_job_id":null,"html_url":"https://github.com/danielpclark/dfm","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/danielpclark%2Fdfm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielpclark%2Fdfm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielpclark%2Fdfm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielpclark%2Fdfm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielpclark","download_url":"https://codeload.github.com/danielpclark/dfm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248135718,"owners_count":21053746,"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":["duplicates","file-indexing","md5","recursively-search"],"created_at":"2024-10-12T15:26:22.023Z","updated_at":"2025-04-10T00:32:46.792Z","avatar_url":"https://github.com/danielpclark.png","language":"Ruby","readme":"dfm \n=== \n \nDuplicate File Manager \n\n    gem install dfm\n \nThe purpose of dfm is to locate duplicate files through a recursive search. \n \nYou can create an instance of the DFM object with optionally specifying the \ndirectory path and the file extensions.\n \n    dfm = DFM.new( path: './', filters: [\"jpg\",\"png\"] ) \n \nIf you are using a ruby version before 2 then this would be: \n \n    dfm = DFM.new( { :path =\u003e './', :filters =\u003e [\"jpg\",\"png\"] } ) \n\nOr you can use the default behaviour which uses the current directory and searches\nall files.\n\n    dfm = DFM.new\n \nThen you may get a hash of the MD5 hexdigest matches (indicating files with\nidentical content) by \n \n    dfm.hex \n \nAnd by duplicate file name by \n \n    dfm.name \n \nEither of these can be called with false if you want only single instances of files. \n \n    dfm.hex( false ) \n    dfm.name( false ) \n \n--- \n \nAlso included is a command line version which outputs nicely formatted JSON in case \nyou would like to use it with anything else.  Type `dfm -h` on the command line to get \na list of available options.  Running `dfm` by itself will recursively search the current \nfolder for all duplicates by both file name and MD5 hexdigest indexes. \n \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielpclark%2Fdfm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielpclark%2Fdfm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielpclark%2Fdfm/lists"}