I am releasing Dupefind, one of my endeavors to make inventory management easier.
Dupefind helps you find multiple instance of the same item across all bags of the same character, and, if you have the addon findAll installed, even multiple instances across different characters, provided you ran findAll on those characters at least once.
Download: https://pastebin.com/yXMCuDN7
(I may setup a github eventually. For now this will suffice.)
USAGE: Invoke the addon with //dupefind, //dupe, or //df.
Example result:

By default, dupefind ignores Rare items, Exclusive items, items that cannot be stacked, items that cannot be sent via POL, and only considers your current character. It is possible to override each filter with a flag:
//dupefind ex - will include Exclusive items in the search
//dupefind nostack - will include non-stackable items
//dupefind rare - will include Rare items
//dupefind findall - will search across all of your characters (see note below)
All flags can be used in any order and combination. Examples:
//dupefind nostack ex
//dupefind rare findall
etc.
PLEASE NOTE: dupefind leverages findAll offline storage. Therefore, search results will include characters that no longer exist, renamed characters, your significant other's character, etc, anything that is stored under the windower\findall\data folder. If you get search results for characters that you do not longer have access to, delete their respective file from windower\findall\data folder, or add them to the ignore list in dupefind.lua.
IGNORE FUNCTION:
Dupefind can be setup to ignore specific items, or specific characters. Simply open dupefind.lua with a text editor, and edit lines 67 and 68 accordingly. Eventually there will be an addon command, but until I dig into how the config library works, you'll have to edit the file.
KNOWN ISSUES:
- items that cannot be sent via POL never appear in the search results, even if they are stackable.
- items that can be sent via POL but are on characters linked to different POL accounts will show up in the results as duplicates anyway. Dupefind has no automatic way to know which characters are actually on the same POL account, so for now this is as good as it gets until I decide on which way I like best to deal with this.
TO-DO LIST:
- Include the config library so you can add/remove ignored items
- Add a way to tell dupefind which characters belong to the same POL account.
- Implement some sort of export function, to export the duplicates to a text file.
Feedback, bug reports, feature suggestions, unconditional praise, gifts, boobs, pizza, donations, all very welcome.
THANKS TO Arcon for patiently guiding me through a bunch of lua hoops, and Martel for some preliminary testing. To Zohno for making findAll (from which I copied a bunch of code, made my life much easier), and to all addon devs out there that make our life easier everyday.
Enjoy!