]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hardlink: add --list-duplicates and --zero
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Mon, 28 Oct 2024 18:19:30 +0000 (19:19 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 31 Oct 2024 08:43:52 +0000 (09:43 +0100)
commitb4874971197255988a77b32779af02e207433c8c
treed719709ba9439f676dda9261773c99ad394e7458
parent2d2e78720440a611656ec0ce7fdb3e2e5a5f24eb
hardlink: add --list-duplicates and --zero

--list-duplicates codifies what everyone keeps re-implementing with
find -exec b2sum or src:perforate's finddup or whatever.

hardlink already knows this, so make the data available thusly,
in a format well-suited for pipeline processing
(fixed-width key for uniq/cut/&c.,
 tab delimiter for cut &a.,
 -z for correct filename handling).
misc-utils/hardlink.1.adoc
misc-utils/hardlink.c