hellzerg/hashing

[Feature request] Generate relative path hashes

vatterspun opened this issue · 4 comments

Current behavior

The program writes JSON files to static file destinations e.g. c:\test\file.txt ... this is very useful because it's always easy to find and check files, but if the folder is removed or the files are moved to a different location/drive, the program will throw errors:

image

Requested behavior

Ability to save to relative folders e.g. c:\verification-file.json which would use links like test\file.txt.

Who would use this?

Individuals checking files on:

  • Cloud sync services
  • Removable media
  • Backups that save to a folder different from the original

Possible issues

This is a non-simple feature request because one of the following must happen:

  • The verification file would need to remain in the same place relative to the folder it's verifying (for example if verifying c:\test, the verify file would need to be on the _c:_ drive. This could be a problem if for example the _c:_ drive isn't accessible as root folder access may be disabled by the admin.
  • The user would need to specify the root folder location. This might be a problem because whether the root folder is _c:_ or c:\test is not clear and the user may have to test a few times to find the correct root or research the contents of the JSON file.

No time to spare in order to implement this now. Life problems.

Sorry my friend.

No time to spare in order to implement this now. Life problems.

Please don't apologize - you couldn't have done better than to give away your hard work along with the source code in a good license. People get busy, sick, and even die in software just like everywhere else. Putting it out there is all we can do.

I would ask that you put something on the main page requesting a new maintainer, if that's applicable.

Thanks and I hope your life issues get resolved. If there's any karma, I hope you see some good fortune for all the effort you've given away for free.

@vatterspun Hello. If you are still there, we can work to complete this feature. But before this, I will need a detailed description.

But before this, I will need a detailed description.

Not sure what to add to my original request to make it more comprehensive. There's static paths like D:\temp\file.md5 and relative like temp\file.md5. Static means that you have to move it to the original path before the files can be evaluated, relative you can put them most anywhere and then just set the root folder (in this case the d:\ drive).

What more info were you looking for?