{"id":22813077,"url":"https://github.com/tjaart-code/delete-duplicate-images","last_synced_at":"2025-03-30T21:42:19.862Z","repository":{"id":258810150,"uuid":"869617027","full_name":"tjaart-code/Delete-Duplicate-Images","owner":"tjaart-code","description":"a script for deleting duplicate images","archived":false,"fork":false,"pushed_at":"2025-02-18T09:00:20.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-18T09:37:50.795Z","etag":null,"topics":["duplicate-images","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/tjaart-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-08T15:42:16.000Z","updated_at":"2025-02-18T09:00:24.000Z","dependencies_parsed_at":"2024-10-20T22:32:35.503Z","dependency_job_id":null,"html_url":"https://github.com/tjaart-code/Delete-Duplicate-Images","commit_stats":null,"previous_names":["tjaart-code/delete-duplicate-images"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjaart-code%2FDelete-Duplicate-Images","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjaart-code%2FDelete-Duplicate-Images/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjaart-code%2FDelete-Duplicate-Images/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjaart-code%2FDelete-Duplicate-Images/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tjaart-code","download_url":"https://codeload.github.com/tjaart-code/Delete-Duplicate-Images/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246385410,"owners_count":20768668,"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":["duplicate-images","python3"],"created_at":"2024-12-12T12:14:58.658Z","updated_at":"2025-03-30T21:42:19.842Z","avatar_url":"https://github.com/tjaart-code.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Delete Duplicate Images (on Linux)\n\n### How It Works:\n1. **Hash Function**: The script reads the content of each file and calculates its MD5 hash.\n2. **Walking Through the Directory**: It recursively scans through the specified directory and its subdirectories for image files.\n3. **Check for Duplicates**: For each image, it checks if the hash has already been encountered. If so, the script deletes the duplicate file.\n4. **File Extensions**: The script checks for common image file extensions like .png, .jpg, .jpeg, .gif, bmp, tiff, webp. (You can add more extension types)\n\n### How To Run:\n1. In your terminal run: ```python3 imgDelete.py```\n2. You will be asked to input your directory full path e.g. ```/home/user/Pictures/my-folder```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjaart-code%2Fdelete-duplicate-images","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftjaart-code%2Fdelete-duplicate-images","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjaart-code%2Fdelete-duplicate-images/lists"}