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
- [Shortcuts User Group](https://discord.com/channels/551914015131959308/577020926194089985/1058693896584040448)
- [Mastodon](https://mastodon.social/@DavidBlue/109607834421449942)
- [Twitter](https://twitter.com/NeoYokel/status/1619109049752059905)
- Telegram
okay @culturedcode... I could say many things about how your work has singlehandedly added a lot of legitimacy to Shortcuts. but cassinelli's handled that I think.
---
## Delete duplicate Things items by hash matching.
[![Deduplicate Things Shortcut](https://user-images.githubusercontent.com/43663476/215220350-4285f89c-8a63-454f-8051-8049914b8c25.png)](https://www.icloud.com/shortcuts/991ba1b428fc4a6da665fe141bdf6a46)
This shortcut includes two of [Things' brand new Shortcuts actions](https://culturedcode.com/things/support/articles/9596775) 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](https://matthewcassinelli.com/actions/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.
- [Delete Items action - Things Shortcuts Support](https://culturedcode.com/things/support/articles/9596775/#delete)
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 - [Shortcuts User Group](https://discord.com/channels/551914015131959308/577020926194089985/1058693896584040448) - [Mastodon](https://mastodon.social/@DavidBlue/109607834421449942) - [Twitter](https://twitter.com/NeoYokel/status/1619109049752059905) - Telegram --- ## Delete duplicate Things items by hash matching. [![Deduplicate Things Shortcut](https://user-images.githubusercontent.com/43663476/215220350-4285f89c-8a63-454f-8051-8049914b8c25.png)](https://www.icloud.com/shortcuts/991ba1b428fc4a6da665fe141bdf6a46) This shortcut includes two of [Things' brand new Shortcuts actions](https://culturedcode.com/things/support/articles/9596775) 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](https://matthewcassinelli.com/actions/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. - [Delete Items action - Things Shortcuts Support](https://culturedcode.com/things/support/articles/9596775/#delete)