This repository was maintained due to historical reasons. To use the latest version of this tool, please access https://github.com/regras/net-sd.
A similarity search strategy based on mrsh-net and modified to take advantage of sdhash characteristics.
- Extract the library folder onto mrsh-sd's main folder
- Inside the boost folder run:
$ ./bootstrap.sh
- Run:
$ ./b2
- Run and the setup is complete!
$ ./b2 install
- Run:
$ make
- List the files into a .txt file <list.txt>
- Run:
$./mrsh_net -d <list.txt> > digest
- List the target files into a .txt file <target.txt>
- Run:
$ ./mrsh_net -i digest <target.txt>
File ./src/main.c
Function: evaluation
Line 383 for the matches
printf("%s:%d of %d(Longest run %d)\n", name, found, total,longest_run);
Line 387 for the non matches
printf("%s not found, min long run not long enough \n",name);
File ./header/config.h
Line 16 - min_run
#define MIN_RUN <number>
File ./header/config.h
Line 22
Obs.: The size must be power of two and expressed in bytes.