Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable deduplication criteria #1140

Open
nmaggioni opened this issue Apr 16, 2024 · 6 comments
Open

Configurable deduplication criteria #1140

nmaggioni opened this issue Apr 16, 2024 · 6 comments
Labels
c: Deduplicator enhancement New feature, request, improvement or optimization

Comments

@nmaggioni
Copy link

Is your feature request related to a problem? Please describe.

If I'm not mistaken in SD Maid (Legacy) it was possible to delete duplicate files basing on specific criteria which were user-configurable.

Describe the solution you'd like

While I see that SD Maid SE implements a similar strategy it would be handy if a choice of that kind was exposed as a static setting or, even better, chosen directly in the found duplicates view or when tapping on a single entry.

Two strategies that would be quite useful in my use cases are prioritizing the modification time or the length (longer/shorter) of the absolute path over other criterias.

Describe alternatives you've considered

Other users have mentioned relying on standard Unix tools to do the same work though local shells or going back and forth with desktop tools, but that defeats the purpose of having an on-device dedicated app.

Describe why this would be in the interest of all users

A rather frequent use case could be files downloaded through messaging apps and then copied (through in-app functionalities) to common storage spaces. Take the Telegram app as an example: you can download a received image to its internal cache (private subfolder in /storage/emulated/0/Android) and open it from there, but if you wanted to save or reshare it you could save it to the main device's gallery (typically /storage/emulated/0/Pictures?). With the current interface prioritizing one copy over the other requires manually selecting each entry.

Additional context

Thanks for your continued efforts since the times of the Legacy version :)

@nmaggioni nmaggioni added enhancement New feature, request, improvement or optimization triage This ticket needs to be sorted and labeled. labels Apr 16, 2024
@d4rken d4rken added c: Deduplicator and removed triage This ticket needs to be sorted and labeled. labels Apr 17, 2024
@d4rken
Copy link
Member

d4rken commented Apr 21, 2024

Valid idea, just need to come up with a nice UI.
According to stats in SD Maid 1, very few people touchd the criteria. Might have been to complicated?

@nmaggioni
Copy link
Author

I think that feature just covered a very niche use case and many people were happy enough with the defaults to stick with them. But it offered a solution that, when needed, could not be found in other apps.

@Makarnak
Copy link

I would like to second the configurable criteria. I used it frequently and often. At he very least, I would appreciate the date stamp shown of the files for manual deletion in the deduplicator.

But configurable options for autos election would be fantastic!

@cbarnettx
Copy link

People who take the time to configure things often also disable analytics so that could be why it seems like no one uses it.

@Ffrankt12
Copy link

Ffrankt12 commented Nov 9, 2024

If the discussion about the duplicator on the current SD made app I would like to add a comment. I'm not programmer or app designer I'm just a guy with a s24 Plus Samsung phone and unfortunately one drive service from Microsoft. OneDrive has a nasty habit of duplicating a lot of pictures and putting them all over the phone so I was hoping maybe SD maid could come up with an ability to scan cloud storage like OneDrive and Google drive. Any user hands-on control would be better than what we have now. Thank you

@d4rken d4rken marked this as a duplicate of #1387 Feb 4, 2025
@d4rken d4rken marked this as a duplicate of #1590 Feb 7, 2025
@Honza572
Copy link

Honza572 commented Feb 8, 2025

I'm here because of #1590, my use case for folder-delete-preference is to, for example, choose one folder that will remain unchanged, or to make backup cleanup easier when I want to back something up but still need it on my phone. Also choosing a time range for duplicate file deletion would be very helpful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Deduplicator enhancement New feature, request, improvement or optimization
Projects
None yet
Development

No branches or pull requests

6 participants