namazso / OpenHashTab

📝 File hashing and checking shell extension
GNU General Public License v3.0
3.12k stars 119 forks source link

Can we have a CLI version? #167

Open a84r7a3rga76fg opened 1 year ago

a84r7a3rga76fg commented 1 year ago

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].

kurtmckee commented 1 year ago

@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.

namazso commented 1 year ago

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.