Try parsedog to find all includes, custom tags etc.

May help?

Originally written to find "case" issues when migrating code from NT enviro
to unix.

Open source so you may be able to modify the code to find files that "arent"
included anywhere?

http://www.aloha-webdesign.com



-----Original Message-----
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 16, 2001 7:23 AM
To: CF-Talk
Subject: Re: Find unused files?


Steven Monaghan wrote:

> One idea is to use a link checker, like the free Xenu's Link Sleuth:
> http://home.snafu.de/tilman/xenulink.html (no personal affiliation, just
> found it and liked it).
> 
> Unfortunately, in your case, this will tell you all of the USED templates,
> and you'll need to then weed out the remaining ones.


Unfortunately, it will not even tell you all the used templates, because 
it will miss all the cfinclude, cfmodule, cflocation and custom tags 
(and probably some javascript too).

Best way I know of is to either write some logging code on the top of 
each template (use cfquery, cflog or cffile to write 
GetCurrentTemplatePath() and perhaps GetBaseTemplatePath()) or read all 
files using cffile and search them for cfinclude, cfmodule, cflocation 
and cf_ and combine that with the results of a web spider.

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to