Re: [PATCH 2/4] hardlink: add --list-duplicates and --zero

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 28, 2024 at 07:19:30PM GMT, наб wrote:
> --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 |  6 ++++++
>  misc-utils/hardlink.c      | 21 ++++++++++++++++++++-
>  2 files changed, 26 insertions(+), 1 deletion(-)

The new option should also be added to the "bash-completion/hardlink"
file. However, I can fix this after merging locally.

    Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com





[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux