i icon indicating copy to clipboard operation
i copied to clipboard

Deduplicate Things Shortcut

Open extratone opened this issue 2 years ago • 1 comments

Updated 01272023-170525


Social

I discovered that Things' new actions work with native hashing in Shortcuts! (Reminders' still don't??) Which means I was able to create a relatively simple deduplication shortcut that actually works!

(Obviously, be careful if you intend to use this on your personal library.) https://www.icloud.com/shortcuts/c75588132d9b49bd9bd59a45289052f6


Delete duplicate Things items by hash matching.

Deduplicate Things Shortcut

This shortcut includes two of Things' brand new Shortcuts actions and simple repeat loop utilizing matching by hash (which I definitely discovered via another shortcut but I haven't been able to figure out which/from where) to discover Things items with duplicate titles in one's database, which are then counted. The count is presented in a Show Alert action dialogue, from which you will have the choice of proceeding with deletion or canceling.

Also worthy of consideration:

You will receive a warning each time this action attempts to delete more than 99 items at once. This warning can be turned off in Things’ Settings.

extratone avatar Dec 31 '22 08:12 extratone

image

extratone avatar Jan 27 '23 22:01 extratone