Re: Orphan graphic files - how to find?

by "Tom Keatley" <tom(at)piedpiper.com.au>

 Date:  Sat, 18 Nov 2000 22:15:33 +0800
 To:  <hwg-techniques(at)hwg.org>,
"Dave Alders" <yldman(at)sierra.net>
 References:  sierra
  todo: View Thread, Original
 I've done a little research and lurked on this list for some time,
> but I can't find an answer to the (simple?) question "how do I check
> for orphan graphics on my site"? I know some HTML authoring s/w
> (e.g., MS FrontPage and DW) has some built-in tools, but how does
> somebody using..um..HS..or a plain text editor (Notepad?)
> methodically check for orphans on their site?  I guess this would
> involve (from a s/w perspective) checking img tags in the html
> files and flagging ones that don't have a match to a graphic on
> the site. I don't need link validation (I think) just a way to tell
> which graphic files are no longer needed.


I do this on a couple of sites every 3-4 months and would like a *better*
way to do it ....currently I simply download the site to a new directory and
then delete all files on the web site and simply upload it again minus the
files that are not linked ...seems to work ok but would be a nightmare on a
large (and busy) site. especially if the site coudlnt be "offline" for the
hour or so this might take

As most of us (I am sure you guys will correct me if I am wrong) do our work
on either a MAC or a windows PC and the websites are UNIX (ok I know linux
and others as well) is there not some sort of directory compare utility that
will work between the formats?

Regards

Tom Keatley

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.