need advice on cleaning out unused files in a web server...
i am on the verge of making some (drastic) changes to my company's webpage that was built before i got here... i have replaced everything i want to with new updated content... now i have gotten the go ahead to go through and destroy everything old, and uneeded. aside from some *.swf buttons, is there a way i could map out every link and path to every file currently in use,
">" it in a file, then "grep" out "ls" for all other files not in the map so that i can delete them??? i know dreamweaver (which i use) has a feature called a "link checker". would that produce a sufficient map of every file that my web page needs to function???
i guess first step is finding a reliable way to map out the "used" and "essential" files recursively from /. then i can figure out another way to filter out the leftovers.
if anyone has a better idea please share :)