Tony Papadimitriou wrote:
[snip]
For example, if
/defs.inc is the same as /project1/defines.inc,
and project2/lib.mod is the same as project3/library.inc and
project4/libroutines.inc,
and docs/mydocs.pdf is the same as project1/docs.pdf,
I would like some simple report like this:
defs.inc
project1/defines.inc
project2/lib.mod
project3/library.inc
project4/libroutines.inc
docs/mydocs.pdf
project1/docs.pdf
(a blank line --or whatever other separator -- simply separates each group)
Ideally from the command line so that I can redirect to a file.
On *nix you would use FDUPES(1) [1] to find duplicate files, e.g.
fdupes -r project1 project2 project3 project4
Default `fdupes' output is exactly what you looking for. Just install
fdupes using your package manager.
[1] https://linux.die.net/man/1/fdupes
Sergei
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users