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

hash file again if size changed, ignore modtime #1022

Closed
chchia opened this issue Jul 21, 2022 · 1 comment
Closed

hash file again if size changed, ignore modtime #1022

chchia opened this issue Jul 21, 2022 · 1 comment
Assignees
Labels
enhancement Feature requests and enhancements.

Comments

@chchia
Copy link

chchia commented Jul 21, 2022

Can we have a option to allow user to choose to hash the file again only if file size changed, and ignore modtime?

in some circumstance, example the file is copy from local to remote, and copy from remote to local again, the modtimes is changed although file size and content remain same, md5 hash result also showing file content is same, but dupeguru will rehash again due to modtime change.

hope the above is clear.

@arsenetar
Copy link
Owner

I think that is okay. I will add an option, although it will be disabled by default since it could result in an incorrect result. Only users who have that particular use case should probably use it.

@arsenetar arsenetar added the enhancement Feature requests and enhancements. label Jul 21, 2022
@arsenetar arsenetar self-assigned this Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests and enhancements.
Projects
None yet
Development

No branches or pull requests

2 participants