I have an aging website I'm managing and I'd like to remove all unused external files (.css, .jpg, .js, etc.) that are currently in various folders all over the site.
Is there a tool out there that can help me identify and/or remove these for me?
My first thought is to write a script that reduces a few months worth of raw log files down to just the URI part of them, then gathers a directory listing, and finally loops through the directory listing and lists everything that doesn't have a corresponding appearance in the condensed log file.
There are several utilities to download entire websites. Run one, follow all links to your site, but not to any other sites. Anything not in the resulting archive could be deleted.
Several editors like Dramweaver and Expression Web have built-in utilities to detect unlinked files in the site. I don't know of any free tools, but I'd be surprised if there isn't.
My first thought is to write a script that reduces a few months worth of raw log files down to just the URI part of them, then gathers a directory listing, and finally loops through the directory listing and lists everything that doesn't have a corresponding appearance in the condensed log file.
There are several utilities to download entire websites. Run one, follow all links to your site, but not to any other sites. Anything not in the resulting archive could be deleted.
Several editors like Dramweaver and Expression Web have built-in utilities to detect unlinked files in the site. I don't know of any free tools, but I'd be surprised if there isn't.