$ rmlint -c sh:link -L -y s -p -T duplicates
will produce a script which, if run, will hardlink duplicates
will produce a script which, if run, will hardlink duplicates
> clone: reflink-capable filesystems only. Try to clone both files with the FIDEDUPERANGE ioctl(3p) (or BTRFS_IOC_FILE_EXTENT_SAME on older kernels). This will free up duplicate extents while preserving the metadata of both. Needs at least kernel 4.2.