1
0
Finds and hardlinks duplicate files with same relative path. https://aweirdimagination.net/2024/01/28/hardlink-identical-directory-trees/
Go to file
2024-02-01 17:52:35 -08:00
hardlink-dups-by-name.sh Credit StackExchange answer on stat to count links. 2024-02-01 17:52:35 -08:00
LICENSE Initial commit 2024-02-01 17:52:35 -08:00
README.md Initial commit. 2024-02-01 17:52:35 -08:00

hardlink-dups-by-name

Searches two directory trees in parallel and hardlinks identical files, only comparing files with identical relative paths.

USAGE: hardlink-dups-by-name.sh [--clobber=none|first|second] [--verbose] [--] search_dir other_dir