Add ability to do checking of files to xxhsum cli. #29

Closed
opened 2015-08-07 16:32:04 -05:00 by 133794m3r · 4 comments
133794m3r commented 2015-08-07 16:32:04 -05:00 (Migrated from github.com)

As it says above currently I'm using md5sum for my checking of files since it's the fastest algorithm out there currently that lets me do that. I would like it if xxhsum would be able to do similar system, with a -c option and that would greatly speed up things for me. As at the moment I'm pretty sure all it does is hash the file but no way to check a file against a hash without using something else.

As it says above currently I'm using md5sum for my checking of files since it's the fastest algorithm out there currently that lets me do that. I would like it if xxhsum would be able to do similar system, with a -c option and that would greatly speed up things for me. As at the moment I'm pretty sure all it does is hash the file but no way to check a file against a hash without using something else.
Cyan4973 commented 2015-08-07 17:17:39 -05:00 (Migrated from github.com)

I believe this request is equivalent to #21.
This is a legitimate request, I'm just lacking time and concentration to do it.

The request can be divided into 2 parts :

  • make xxhsum compatible with wildcard characters, so that it can produce the hash of multiple files. This part can probably be done from inside xxhsum. It will likely be more efficient than repetitively calling xxhsum from an external script
  • -c check option : this one is a bit more complex to do. Nothing huge, just more complex.
    Scripts from @beckermr can certainly help for such a task.
    Sure, it offers a different user experience from xxhsum -c.
    But that's still plenty useful while -c option is unavailable.
I believe this request is equivalent to #21. This is a legitimate request, I'm just lacking time and concentration to do it. The request can be divided into 2 parts : - make xxhsum compatible with wildcard characters, so that it can produce the hash of multiple files. This part can probably be done from inside xxhsum. It will likely be more efficient than repetitively calling xxhsum from an external script - `-c` check option : this one is a bit more complex to do. Nothing huge, just more complex. Scripts from @beckermr can certainly help for such a task. Sure, it offers a different user experience from `xxhsum -c`. But that's still plenty useful while `-c` option is unavailable.
Cyan4973 commented 2015-08-07 18:29:59 -05:00 (Migrated from github.com)

Merged into #21

Merged into #21
133794m3r commented 2015-08-07 19:03:51 -05:00 (Migrated from github.com)

I didn't realize that, I did a search on the issues it and it din't show up forme. I guess I'm kinda dumb sorry for creating a dup .

I didn't realize that, I did a search on the issues it and it din't show up forme. I guess I'm kinda dumb sorry for creating a dup .
Cyan4973 commented 2015-08-07 19:07:34 -05:00 (Migrated from github.com)

don't be. It was just listed as PR instead of issue ;-)

don't be. It was just listed as PR instead of issue ;-)
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-Cyan4973/xxHash#29
No description provided.