On Thu, 13 Feb 2025 at 15:17, <bug.repor...@mail.sheugh.com> wrote: > Hi GNU team, > > First, thanks for providing excellent software. > > I am running some code to identify duplicate > files within a user filesystem. > > This proved to be a somewhat challenging task as > it was not immediately obvious how the use of the > du command would meet my needs. > > I eventually found that this worked : > > du -ab ~/<directory> > > where <directory> contained possibly duplicated files. > > To compare the content of more than one directory I > needed the complete filepath to uniquely identify > files. > > Here's my question : can I rely on this feature to > continue into the indefinite future? > > Or more importantly, can I get some notification > of a change before I find out the hard way?
Hello Richard, There is hardlink(1) tool in util-linux package, would that work for you? https://man7.org/linux/man-pages/man1/hardlink.1.html -- Sami Kerola https://kerolasa.iki.fi/