deadcatbounce,
@deadcatbounce@reddthat.com avatar

The Google Files app will find duplicates and other things.

nkiruanaya,

MiX file explorer for android does this. It’s free. Not sure if it’s open source though, does anyone know?

It does use open source libraries.

Latest version is 6.64.3 beta.

…xda-developers.com/…/mixplorer-q-a-and-faq-user-…

“MiXplorer (Mix of Explorers) is a fast, smooth, beautiful, reliable and fully-featured file manager with a simple and intuitive user interface.” created by XDA member and Recognized Developer @HootanParsa

tc43,

fdupes in termux

BeeCoffee,
@BeeCoffee@discuss.tchncs.de avatar

Thanks!

Disonantezko,

Also in termux:

  • fclones
  • rdfind
  • go-findimagedupes
Swimmerman96,

I like Czkawka for detecting and handling duplicate files, similar files, empty directories, and more.

BeeCoffee,
@BeeCoffee@discuss.tchncs.de avatar

Use that for Mint and worked flawlessly, nice to be able to find it in flatpak ƪ(ړײ)‎ƪ​​

Disonantezko,

I also like this in Linux, but isn’t on Android or Termux.

eco_game,

My Android 12 Samsung phone can show me all duplicate files right in the android storage settings

BeeCoffee,
@BeeCoffee@discuss.tchncs.de avatar

Mine is running LineageOS and both the stock Gallery app and Aves Libre don’t have that tool

eco_game,

Hm, must be a OneUI thing then

MutatedBass,

Here’s a script from GPT4:


<span style="color:#323232;">#!/bin/bash
</span><span style="color:#323232;">
</span><span style="color:#323232;"># Create a temporary file for storing file checksums
</span><span style="color:#323232;">tempfile=$(mktemp)
</span><span style="color:#323232;">
</span><span style="color:#323232;"># Generate MD5 checksums for all files in the current directory and its sub-directories
</span><span style="color:#323232;">find . -type f -exec md5sum '{}' ; | sort > $tempfile
</span><span style="color:#323232;">
</span><span style="color:#323232;"># Detect and delete duplicates
</span><span style="color:#323232;">awk 'BEGIN {
</span><span style="color:#323232;">    lasthash = "";
</span><span style="color:#323232;">    lastfile = "";
</span><span style="color:#323232;">}
</span><span style="color:#323232;">{
</span><span style="color:#323232;">    if ($1 == lasthash) {
</span><span style="color:#323232;">        print "Deleting duplicate file: " $2;
</span><span style="color:#323232;">        system("rm -f ""$2""");
</span><span style="color:#323232;">    } else {
</span><span style="color:#323232;">        lasthash = $1;
</span><span style="color:#323232;">        lastfile = $2;
</span><span style="color:#323232;">    }
</span><span style="color:#323232;">}' $tempfile
</span><span style="color:#323232;">
</span><span style="color:#323232;"># Clean up
</span><span style="color:#323232;">rm -f $tempfile
</span>

This script can be run with Termux from the root of your internal storage. Usually /sdcard or /storage/emulated/0. Do not confuse this with running from root if you are rooted.

Before using a script that interacts with your files you should backup anything that is important just in case.

Furthermore, if you comment out:


<span style="color:#323232;">system("rm -f ""$2""");
</span>

By adding a # in front of it like this:


<span style="color:#323232;"># system("rm -f ""$2""");
</span>

You can run the script and see what files the script would delete without actually deleting them. I would recommend doing this as I have not tested this script.

BeeCoffee,
@BeeCoffee@discuss.tchncs.de avatar

Haha thats so cool, I’ll try that option as well :)

Radiant_sir_radiant,

FX File Explorer has that functionality (among other cleanup tools) and is generally a great file manager. It’s free with limited functionality after a trial period, or a one-off fee of about three bucks for the Plus version.

MutatedBass,

It isn’t open source, though.

MasterBuilder,

If you’d find one I’d be interested in hearing what it is. As an alternative, you might be able to use a Linux app while connected through MTP.

brie,

Termux + Termux-X11 is another possibility.

BeeCoffee,
@BeeCoffee@discuss.tchncs.de avatar

I’ll check it out sound interesting because i also use Termux

MasterBuilder,

True, but I was thinking of something with a GUI that helps one delete duplicates selectively.

brie,

Termux-X11 makes it possible to run an X11 server for GUI apps to connect to.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • Ask_kbincafe
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines