Counting files
September 15, 2004
In order to set the Maximum number of cached templates setting in ColdFusion MX Administrator, you need to know how many CFM files you have on your server. An easy way to find this out on Unix is by running the find command and piping it with grep -c (to count the number of matches) for example:
find /web/root | grep -c \.cfm$
The result will be the number of cfm files you have in your web root.ls



add to del.icio.us



