hashdeep icon indicating copy to clipboard operation
hashdeep copied to clipboard

Spacing inconsistent with hashdeep and md5deep (makes sorting difficult)

Open newhoa opened this issue 6 years ago • 3 comments

Output spacing is inconsistent between hashdeep and md5deep making sorting difficult when using hashdeep.

Using md5deep -z, the output list is nicely spaced where the byte size is grouped in a column, the hash has its own column, and the location is grouped in its own column.

This makes sorting easy by piping it to sort because the hash and locations begin on the same column in each row.

Hashdeep does not do this. It seems to output size,hash,location all grouped with just a comma in between. This makes sorting very difficult because you can't tell sort to sort by a specific columns since each location and hash begin on a different column.

Is there a solution to this I'm missing? If not is there any way to add an option to hashdeep to space like md5deep?

Thanks!

newhoa avatar Feb 11 '18 00:02 newhoa