{"repo":"m-manu/go-find-duplicates","free":true,"listed":false,"github":"https://github.com/m-manu/go-find-duplicates","clone":"git clone https://github.com/m-manu/go-find-duplicates.git","description":"Find duplicate files (photos, videos, music, documents) on your computer, portable hard drives etc.","language":"Go","stars":297,"topics":["command-line-tool","file-scanner","media","utilities","golang-application","duplicate-files","go","golang"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"Go Find Duplicates Introduction A blazingly-fast simple-to-use tool to find duplicate files (photos, videos, music, documents etc.) on your computer, portable hard drives etc. Note : This tool just reads your files and creates a 'duplicates report' file It does not delete or otherwise modify your files in any way 🙂 So, it's very safe to use 👍 How to install? 1. Install Go version at least 1.22 See: Go installation instructions 2. Run command: 3. Add following line in your .bashrc / .zshrc file: How to use? Run directly (preferred) Command line options Running go-find-duplicates --help displays following: Run via Docker In above command: option --rm removes the container when it exits option -v is mounts host directory /Volumes/PortableHD as /mnt/PortableHD inside the container How does this identify duplicates? By default , this tool identifies duplicates if all of the following conditions match: 1. file extension is same 2. file size is same 3. CRC32 hash of \"crucial bytes\" is same If above default isn't enough for your requirements, you could use the command line option --thorough to switch to SHA-256 hash of entire file contents . But remember, with this, scan becomes much slower! When tested on my portable hard drive containing 172k files (videos, audio files, images and documents), with and without --thorough option, the results were same! How to build?","default_branch":null,"files":null,"tree":[],"storefront":"/r/m-manu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/m-manu/go-find-duplicates/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}