steffenfritz / FileTrove

FileTrove indexes files and creates metadata from them.
https://filetrove.fritz.wtf
GNU Affero General Public License v3.0
28 stars 5 forks source link

[CHANGE] Make entropy calculation optional #11

Closed steffenfritz closed 9 months ago

steffenfritz commented 10 months ago

via e-mail:

"I had a folder with some larger files (third run 'titzmann'). First time, I thought ftrove freezed because progress bar and time (right, bottom) didn't move anymore Might it be an option to skip 'Calculating entropy' or to not even try to calculate the entropy (already knowing it is more than 'max allowed: 1073741824')"

steffenfritz commented 10 months ago

It does not freeze due to the entropy calculation. It takes some time to calculate all hash sums for large files. It would be doable to make it optional via a flag. But to limit it to a reasonable file size and have it always on should be ok and not a runtime issue.

steffenfritz commented 9 months ago

Won't change