Filedupe is a utility to assist in finding any duplicates as you
accumulate files. It stores md5 hashes of all the files seen in a
system wide database (/var/db/filedupe.db) so it can quickly spot any
Steps to Reproduce:
It wont even compile for me... have you got it to work?
gcc -g -o filedupe md5.o filedupe.o -lgdbm
filedupe.o(.text+0x3e8): In function `lookup':
/home/hydrogen/filedupe-1.1/filedupe.c:165: undefined reference to `dbm_open'
filedupe.o(.text+0x41d):/home/hydrogen/filedupe-1.1/filedupe.c:169: undefined reference to `dbm_fetch'
filedupe.o(.text+0x431):/home/hydrogen/filedupe-1.1/filedupe.c:171: undefined reference to `dbm_close'
filedupe.o(.text+0x448):/home/hydrogen/filedupe-1.1/filedupe.c:174: undefined reference to `dbm_close'
filedupe.o(.text+0x4f0): In function `addfile':
/home/hydrogen/filedupe-1.1/filedupe.c:207: undefined reference to `dbm_open'
filedupe.o(.text+0x532):/home/hydrogen/filedupe-1.1/filedupe.c:214: undefined reference to `dbm_fetch'
filedupe.o(.text+0x5e4):/home/hydrogen/filedupe-1.1/filedupe.c:231: undefined reference to `dbm_store'
filedupe.o(.text+0x5ef):/home/hydrogen/filedupe-1.1/filedupe.c:232: undefined reference to `dbm_close'
collect2: ld returned 1 exit status
make: *** [filedupe] Error 1
Looks like some missing dependency not caught by the configure script. Report upstream.
Did you try setting DBNAME in filedupe.c like the README said to do? I tried setting an absolute path to a file and it still did not fix the problem. If you look at http://woodsite.net/ports/sysutils/filedupe/files/, you will see that FreeBSD made two changes to get this package to work. The first was they changed the Makefile then they also changed filedupe.c and put the absolute path to the database file.
Hope this helps.
This looks like a good candidate for shell-tools herding. Mitchell, have you used app-misc/fdupes at all? It supposedly does the same thing, going by the apps' description. I'll have to sit down and compare the two, but unless they are identical feature-wise, I'll add it as soon as I get some free time.
Think we'll WONTFIX this one. fdupes is considerably more featureful.