Find unused images

I need a tool to find all the image links in my site (markdown and nunjucks templates) and then compare that to all the images in my image folder. 409 images seems a bit much for 157 posts. Pretty sure there are a lot of orphaned pics, but would rather not do a manual one-by-one search for 'em…

Help!