freedup
freedup is a program to scan directories or file lists for duplicate files. The file lists may be provided to an input pipe or internally generated using find with provided options. There are more options to specify the search conditions more detailed. Other options influence the performed actions, i.e. whether to display only or to specify what kind of link under which circumstances. freedup first compares file sizes, then on equal sizes the MD5 signatures, and before taking actions a byte-by-byte check for verification is performed. An interactive mode allows to decide individually which files to link soft or hard or to delete.
The comparison by ignoring tags and comments is a unique feature of freedup. Filesize, start and end of unique content is kept for later processing. Comparing music you may ignore the tags, e.g. whether one is taged with an v1-tag while another sound file with identical music is tagged with v2. It also works, if you copied and retagged the copy to fit into another album. This works for jpegs (Exif) and mp4-Movies as well. An auto-Mode is supported to instruct freedup to ignore all tags, that are recognized. The author will extend this function on demand, if there is sufficient documentation howto strip the tags.
freedup is written in POSIX compliant C and is released under the GNU General Public License. Its complexity is O(n log n) for full file comparison. This is done for equally long files after sorting according to filesize using qsort().
Similar programs
Other programs that can find duplicates and run under *nix:
- clink
- duff uses fast O(n log n) comparison
- dupseek
- dupefinder
- duper
- epac
epac - fdf - Perl/c based and runs across platforms (Win32, *nix and possibly others)
- fdupe
- fdupes
- freedup - POSIX C compliant and runs across platforms (Windows with Cygwin, Linux, AIX, etc.)
- freedups
- fslint
- ftwin
- rdfind
rdfinduses fast O(n log n) comparison - dupmerge - runs across platforms (Win32/64 with Cygwin, *nix, Linux etc.)
- DUFF (Windows Version)
See also
External links
- Official freedup homepage
- German article "Entdoppeltes Lottchen" by Michael Riepe,iX 11/2007
- German article about "System-Utilities für Linux" by Thorsten Leemhuis, c't 24/2007