idrassi / DirHash

Windows command line utility to compute hash of directories and files
BSD 3-Clause "New" or "Revised" License
111 stars 11 forks source link

Give option to exclude symbolic links and directory junctions #18

Closed comanche closed 3 years ago

comanche commented 3 years ago

Currently, symlinks and directory junctions are followed and generate a FindFirstFile failed on ... error if the targest is missing (often true on a backup copy). Please provide a command switch option to not follow symlink/junction.

idrassi commented 3 years ago

Thank you for this proposal. I have implement it a new switch -nofollow that tells DirHash to exclude Symbolic Links, Junction Points or Mount Points from hash computation.

I have published version 1.21 that include this change. Feel free to reopen if you encounter any issues.

comanche commented 3 years ago

Thank you!