Prism-File-Explorer icon indicating copy to clipboard operation
Prism-File-Explorer copied to clipboard

[Feature] Checksum Verification

Open XiaoluoFoxington opened this issue 4 months ago • 16 comments

Add an additional "Copy Checksum" button within the "File Properties" dialog window. Subsequently, when opening the "File Properties" window for another file, the checksum verification result should be automatically displayed.

XiaoluoFoxington avatar Aug 21 '25 03:08 XiaoluoFoxington

btw you can copy any of the properties by long clicking the value field.

Raival-e avatar Aug 21 '25 04:08 Raival-e

btw you can copy any of the properties by long clicking the value field.

I understand, but my focus is on automated comparison🤔

XiaoluoFoxington avatar Aug 21 '25 04:08 XiaoluoFoxington

Don't think this is needed we already have the hashes you can just see and compare them visually if you're opening the properties for both files anyway 🤔

sud0xenn avatar Aug 21 '25 21:08 sud0xenn

Don't think this is needed we already have the hashes you can just see and compare them visually if you're opening the properties for both files anyway 🤔

But... the 'Properties' window doesn't have an edit box for me to paste the checksum of the file I want to compare against. How exactly am I supposed to visually compare them side-by-side?

XiaoluoFoxington avatar Aug 21 '25 21:08 XiaoluoFoxington

But... the 'Properties' window doesn't have an edit box for me to paste the checksum of the file I want to compare against. How exactly am I supposed to visually compare them side-by-side?

By looking at first and last 4 characters? That's how I usually do, plus if you refer to SHA256 it does not have any collisions.

@XiaoluoFoxington I didn't mean side by side, you can just memorize 8 characters

sud0xenn avatar Aug 21 '25 21:08 sud0xenn

But... the 'Properties' window doesn't have an edit box for me to paste the checksum of the file I want to compare against. How exactly am I supposed to visually compare them side-by-side?

By looking at first and last 4 characters? That's how I usually do, plus if you refer to SHA256 it does not have any collisions.

@XiaoluoFoxington I didn't mean side by side, you can just memorize 8 characters

Now you don't have to deliberately memorize them at all — isn't that way better?

XiaoluoFoxington avatar Aug 21 '25 21:08 XiaoluoFoxington

isn't that way better?

Depends. Is it worth the memory overhead? Because every time you open properties of a file it will make that check. Maybe a greedy string match could help...

@Raival-e what do you think?

sud0xenn avatar Aug 21 '25 21:08 sud0xenn

isn't that way better?

Depends. Is it worth the memory overhead? Because every time you open properties of a file it will make that check. Maybe a greedy string match could help...

@Raival-e what do you think?

No, my idea is that the check would only be performed when you've previously clicked "Copy Checksum" in the Properties window, and then open another file's Properties.

XiaoluoFoxington avatar Aug 21 '25 21:08 XiaoluoFoxington

Compare checksum is common in file managers (Material Files, MT Manager, etc), and pretty easy to implement too. It will be added, but probably not in v1.3.2 as I'm focusing on bug fixes.

Raival-e avatar Aug 22 '25 01:08 Raival-e

Compare checksum is common in file managers (Material Files, MT Manager, etc), and pretty easy to implement too. It will be added, but probably not in v1.3.2 as I'm focusing on bug fixes.

If this is being planned, how about we consider a feature to detect duplicate files? This obviously requires calculating checksum of all the files but is geared to serve better to a file explorer. That way you can check for more than 1 duplicates and don't have to manually do the above mentioned process. Just discussing the feasibility, a simple checksum checker can also just be done instead if there are no plans for a full-fletched de-duplicator.

sud0xenn avatar Aug 22 '25 05:08 sud0xenn

It is possible, but never seen similar feature before.

Raival-e avatar Aug 22 '25 09:08 Raival-e

It is possible, but never seen similar feature before.

I swear Google files had something in the clean up section. Can't make it come up atm, will update here.

sud0xenn avatar Aug 22 '25 09:08 sud0xenn

nvm even Samsung Files can detect duplicate files, but I never thought of using checksum.

Raival-e avatar Aug 22 '25 10:08 Raival-e

It is possible, but never seen similar feature before.

Screenshot_20250822_181437.jpg

XiaoluoFoxington avatar Aug 22 '25 10:08 XiaoluoFoxington

I swear Google files had something in the clean up section. Can't make it come up atm, will update here.

https://github.com/user-attachments/assets/4bd26baf-d4d0-4ed1-85a5-689c67c0957e

sud0xenn avatar Aug 30 '25 16:08 sud0xenn

To make this efficient, we could make it run a routine let's say every week to detect dupes. And allow for optional manual checks instead of having it index every file on the fs constantly

sud0xenn avatar Aug 30 '25 16:08 sud0xenn