hashdeep icon indicating copy to clipboard operation
hashdeep copied to clipboard

feature request: hash by path list

Open andry81 opened this issue 9 years ago • 1 comments
trafficstars

Can you add optional argument to command line to hash only required set of files and directories? For example, i want to get the list from another utility like svn (svn ls) and want to hash the list of versioned files for some reason. But hashdeep does not support such file/directory lists.

andry81 avatar Jun 01 '16 15:06 andry81

Sorry, didn't notice the -f argument in the HASHDEEP.txt. Seems "hashdeep.exe -h" outputs not all options.

But still, how to properly pass directory paths with file paths? Below list:

myfile0.txt
dir1/myfile1.txt
dir2/
dir3/myfile2.txt

For this list hashdeep produces error(s):

dir2/: No such file or directory

When the directory actually exists.

Another example:

dir2/
dir2/myfile2.txt

Here dir2/ duplicates because it is under version control in the SVN. I don't see any reason why the hashdeep to just ignore existing directory if -r option is not set. And vice versa parse it if -r is set. Or maybe add option to treat all these directories as file-directory with 0 hash to only just ensure it exists (under version control).

andry81 avatar Jun 01 '16 16:06 andry81