r/androidapps • • 28d ago

QUESTION/HELP Dedupe / file manager app that is able to identify actual rather than only nominal size of a file?

I understand files downloaded by torrent apps are written as sparse / pre-allocated files with the anticipated final size written in the file header. It is this value, rather than the actual file size, that is reported by Android file managers, file de-duplication apps etc. - not great if you are trying to use file size as a value to determine which of two or more identically named files to remove.

Other than via a command line in Termux, would anyone be able to recommend an app or other way to identify files whose true size does not match that written in their header? Or any apps that report the actual rather than nominal size?

Thanks!

2 Upvotes

8 comments sorted by

1

u/GoRo2023 28d ago

You can try Ultimate File Manager Pro, as it hashes the files to get duplicates

2

u/MsHamadryad 25d ago

Ah, thanks for that.

Checked a couple of different torrent downloads of the same file, one incomplete, and see with X-plore that the MD5 and other hashes are different.

Then stumbled upon SD Maid SE that has an option to dedupe based on content checksum - which seems to work quite well.

1

u/GoRo2023 25d ago

Brilliant 👏, I am glad you got a solution 😀

2

u/DutchOfBurdock 23d ago

But if you have a fully downloaded file and a partially downloaded one, the checksums wont match. Would need to be checking the file header and offsets.

2

u/GoRo2023 23d ago

Based on this feedback / request from the OP, I have added the functionality now to my app, you can see the results from here: New Feature Added - Actual vs Nominal File Size Detection : r/UFManagerPro

2

u/DutchOfBurdock 23d ago

That's impressive!

1

u/GoRo2023 23d ago

Thank you friend 😉, I will be pushing this to FOSS release on the weekend

1

u/GoRo2023 28d ago

Remember to index the drive where the duplicates are thou.