Thank you.  I regret I didn't explain well enough what I was after.

I'm looking for the simplest way (possibly even SQL, if nothing else is available) that I can get a list of all files in my repo that have duplicates, triplicates, or more in other folders (the comparison should be in terms of artifact ID -- as there can also be duplicates that may have different artifact IDs but are essentially the same content -- e.g., different line endings or indentation), grouped together by artifact ID (even if the ID itself is not displayed -- I care for the just the paths, not the IDs per se).

(Having to specify IDs one by one on the GUI interface for each and every file in the repo is not the way to go.)

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.

Thank you.

-----Original Message----- From: Richard Hipp
Sent: Monday, April 17, 2017 12:57 PM
To: Fossil SCM user's discussion
Subject: Re: [fossil-users] Is there a way to find identical files?

On 4/17/17, Tony Papadimitriou <to...@acm.org> wrote:
Is there a way to find identical files by the artifact ID?


The empty file has a (SHA1) hash of
da39a3ee5e6b4b0d3255bfef95601890afd80709.  So if you visit the page
that shows this artifact, it lists all of the files that are empty:

   https://www.fossil-scm.org/fossil/artifact/da39a3ee5e6b4b0d
--
D. Richard Hipp
d...@sqlite.org
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to