Here’s a great tip for Dreamweaver users, ever finish a website design and then not know which files are active and which are not? It happens to me all the time, lots of spare graphics, even some HTML or PHP files that are simply not in use anymore. So how do I clean them out?
Step One – Backup
It may sound silly but the first thing I do is click on the file folder icon under Files and select Reveal in Finderwhich opens the folder on my hard drive. I back this folder up completely but copy and pasting it to my desktop.
Step Two – Recache
Under the Site menu I select Advanced > Recreate Site Cache to make sure I have the most up-to-date data about my site.
Step Three – Web Documents
Now here’s where Dreamweaver gets sexy. In your File list, simple start selecting files that you think are suspect and hit the delete key. If they’re linked anywhere in the site, Dreamweaver will warn you that the file is links … and you don’t want to delete it. I do this with whole groups of files to save time, if it doesn’t let me delete them then I know at least one file is still live.
Step Four – Graphics