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
This feature is hard to design (especially to work the same on Linux and Windows).
The usefulness of the resulting hash file is questionable in the case, when two different directories are passed by command line (and both are stripped from the resulting paths):
Before verifying such file, the user shall copy all files from the hashed directories into one directory.
In Linux/Unix wildcards are expanded by the shell and are passed to RHash already as separate files (not directories), so RHash can't detect from paths with wildcards which directory should be stripped from file paths.
I think the only way for RHash to work the same on all platforms is to strip only directories passed with recursive option (without wildcards support):
rfe: --strip-path
such that relative paths are used, even when full(er) path is specified on command line
rhash --strip-path -H c:/tmp/rhash/*
would return something like:
doc.txt
new.txt
testdir/file3.txt
rather then
c:/tmp/rhash/doc.txt
c:/tmp/rhash/new.txt
c:/tmp/testdir/file3.txt
The text was updated successfully, but these errors were encountered: