Webmaster question: li'l orphan files

Does anyone know of an application that does the following:[ol][]Scans file structure of a (local) website.[]Scans all links within the HTML files.Identifies which files/images are orphaned and tells you, so you can delete them.[/ol]

Dreamweaver (Site Report from memory).

You can put together something like that in *nix in 30 minutes with existing utilities.

Frontpage will tell you that info.