Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operate on all detected hardlinks #154

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nbeisert
Copy link

@nbeisert nbeisert commented Apr 1, 2024

fixes #109

description of issue: secondary files with identical dev/inode pairs are dropped in favor of the highest ranking file within a group of identicals and thus removed from consideration early on in the selection process.

description of changes: keep a list of path references to identical dev/inodes as std::vector m_aliases in Fileinfo; apply all operations (print, delete, symlink, hardlink) to aliases as well.

considerations:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rdfind misses existing hard links (need to run it twice)
1 participant