You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hashdeep can accept a list of files to be hashed, which can be very useful given its otherwise limited file selection ability.
I have used it with an invocation like: hashdeep -c md5 -f <(find . -type f )
together with some other filters for find, which in the most part works. However files in Unix like file systems can have \r and \n (carriage-return and line-feed) characters in their names.
Hashdeep is too simple in accepting only line separations as the file name delimiters with the -f option.
A file like: touch filename$'\r'
cannot be accepted though hashdeep if received through find like this, though hashdeep can handle the file on its own without receiving the file list through an external file list..
Find has an option though to zero separate file names: find . -type f -print0
Currently hashdeep is unable to process this (unless there is only one file in the list)
It seems like this would be a fairly easy feature to develop and would be very helpful for handling the edge-cases with -f <file>