HARDLINK(1) hardlink - ' hardlink [] |... hardlink - , --, . , hardlink , , . . memcmp . ( SHA256); Linux, . <<>> (32 ). -. <<>> , . -c, --content , , , , -pot. -b, --io-size read(2) sendfile(2), . - KiB, MiB . <> ', , <> , <>. 8 memcmp 1 . ' memcmp, -, - . , . -d, --respect-dir Only try to link files with the same directory name. The top-level directory (as specified on the hardlink command line) is ignored. For example, hardlink --respect-dir /foo /bar will link /foo/some/file with /bar/some/file, but not /bar/other/file. If combined with --respect-name, then entire paths (except the top-level directory) are compared. -f, --respect-name () . , -f, hardlink. -F, --prioritize-trees Keep files found in the earliest specified top-level directory if there are multiple identical files in different trees. For example, hardlink foo/ bar/ will link files in bar/ to equal files in the foo/ directory. -i, --include _ . --exclude, , . --exclude, , . -m, --maximize . -M, --minimize . -n, --dry-run , , . -l, --list-duplicates Don't link anything, but list the absolute path of every duplicate file, one per line, preceded by a unique 16-byte discriminator and a tab. -z, --zero Separate lines with a NUL instead of a newline in -l mode. -o, --ignore-owner , ( ) . . -O, --keep-oldest ( ). , . --maximize --minimize, . -p, --ignore-mode , . . -q, --quiet - . -r, --cache-size . , memcmp, (. --io-size), . . 10 . -s, --minimum-size , . 1, . : KiB (=124), MiB (=1024*1024) GiB, TiB, PiB, EiB, ZiB YiB ( <> ', <> , <>) -S, --maximum-size , . 0, << >>. : KiB (=1024), MiB (=1024*1024) GiB, TiB, PiB, EiB, ZiB YiB ( <> ', <> , <>). -t, --ignore-time , . , . -v, --verbose , . , ; , . -x, --exclude _ , . . --exclude-subtree - , . . --mount Do not traverse directories on different filesystems (remain within the same filesystem). -X, --respect-xattrs ' , . -y, --method . , , sha256, sha1, crc32c memcmp. sha256 memcmp, Linux . , , -. , . --reflink[=] --, . - , . --ignore-owner --ignore-mode. --skip-reflinks . ' never, always auto. , auto. hardlink BTRFS XFS, , . always ; . --skip-reflinks . --reflink . -h, --help . -V, --version . hardlink , . hardlink -f . hardlink . hardlink , , , . , . , , hardlink . , . hardlink , , , . hardlink. Jakub Jelinek Fedora. util-linux 2.34 2.36. Debian, Julian Andres Klode. hardlink util-linux, Linux . util-linux 2.41 2025-03-29 HARDLINK(1)