My research into this many years ago turned out that jdupes was the right / best solution I could find for my usecase.
https://github.com/jbruchon/jdupes
Though that works fine from a script perspective I'd like some more interactive way of sorting directories etc. Identifying is just the first step, jdupes helps with linking the files (both soft and hard links comes with caveats though!) but that is mostly to save space, not to help in reorganisation.
Re:Johnny Decimal
by liendolucas on Tuesday June 13, 2023 @08:48AM
(#36309460)
It seems to me that is not a trivial problem to solve: de-duplication + reorganization. Maybe I'm incorrect. It also seems the kind of problem where it could be super-easy to screw it if you go with a custom made script plugging different tools...
I've never tried it myself but the README mentions several other tools.
Re:Johnny Decimal
by jbverschoor on Tuesday June 13, 2023 @08:37AM
(#36309353)
rmlint.
I've tried many, but rmlint is the most flexible and reliable. Esp. the tagging works really well.
Re:Johnny Decimal
by harshreality on Tuesday June 13, 2023 @08:34AM
(#36309319)
what os? for use in a console, there's rdfind or fdupes
Re:Johnny Decimal
by JTyQZSnP3cQGa8B on Tuesday June 13, 2023 @08:51AM
(#36309505)
I used DupeGuru (https://dupeguru.voltaicideas.net/) in the past but I'm not sure it's the best solution for you. Try it, it's open-source.
Edit: Some corrections. I forgot to mention which OS: GNU/Linux and/or BSDs.