Skip to content

Any way to hash files sequentially like the old single-threaded versions? #29

@NintendoManiac64

Description

@NintendoManiac64

On modern CPUs, particularly those with double-digit CPU threads (or more...), it becomes more and more of a logistic issue for the listed hashes in the resulting checksum file to be out of alphabetical order.

For example, if you have the files:

1.txt
2.txt
3.txt
4.txt
5.txt
6.txt
7.txt
8.txt

That order would also be how the resulting checksum would list them in the older single-threaded versions (e.g. that old v2.2.3 I keep referencing).

However, it's not uncommon to find the newer multithreaded versions (e.g. your v2.5.0) to instead list them in the following order within the resulting checksum file:

1.txt
3.txt
4.txt
2.txt
5.txt
8.txt
6.txt
7.txt

This can be a bit troublesome if you're manually viewing the resulting checksum file, like you're looking for the files in a specific folder which may be interspersed with hashes of files from a different folder!

So it'd be great if there was a way for the resulting checksum file to have files sorted sequentially even in the newer versions, even if that requires using a non-default mode that just hashes files sequentially in a single-threaded manner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions