Finds and hardlinks duplicate files with same relative path.
https://aweirdimagination.net/2024/01/28/hardlink-identical-directory-trees/
Daniel Perelman db3e3d74ce | ||
---|---|---|
LICENSE | ||
README.md | ||
hardlink-dups-by-name.sh |
README.md
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