OpenHashTab icon indicating copy to clipboard operation
OpenHashTab copied to clipboard

Can we have a CLI version?

Open a84r7a3rga76fg opened this issue 1 year ago • 2 comments

Would make automation much easier. For example, this could be for hashing files OpenHashTab.exe -r(ecursive) --XXH3-128 [directory to scan] [where to save the sumfile] and this could be for for validating files OpenHashTab.exe [path to sumfile].

a84r7a3rga76fg avatar May 13 '23 12:05 a84r7a3rga76fg

@namazso please close if OpenHashTab won't offer a CLI version.

@a84r7a3rga76fg You may be able to accomplish this using other existing tools. For example, Powershell offers a Get-FileHash commandlet, and Windows offers the CertUtil tool that can calculate hashes.

kurtmckee avatar Jun 06 '23 19:06 kurtmckee

I plan a CLI version, but it needs a massive refactor to separate various components of the hashing engine, similar to how the algorithms were cut off. Unfortunately it's quite hard to draw the line what belongs to the engine, as there are some parts like sumfile parsing that are hard to define.

I recently had very little time to work on free-time projects, and getting a CMake conversion followed by a refactor done is still on the list.

namazso avatar Jun 06 '23 19:06 namazso