Scan a world for specific item names/lore

Looking for a way to scan a world folder via cli for specific item locations based off item name and item lore.

The only way I've found to scan a world so far is via CMI scan/find commands but it takes too long to scan an entire world, days. And has no output to a log after it's done.

Having a cli tool such as a python script or bash script would be much preferred as it can be run on backups.
Was this page helpful?