Hi,
I have a website which is pretty big and composed of many folders. I use dreamweaver and the site is hosted in a *nix server.
Is there any way to know how many html pages are there in the site?
Thanks,
Copy the contents of your server to a local machine. Do a find for all files named "*.html" or "*.htm". It will eventually give you a results count, or you can select 'em and do a "Properties...".
Alternately, count all the files in the HTML directory, but subtract the count of non-html files (which will probably be fewer than HTML files).
You're helped by knowing that, for example, it's uinlikely that there will be any html files in CGI-BIN directories, or a directory called IMAGES, DOWNLOADS, etc.
It also makes sense to, when looking at your directory of files, to sort the view order by type, then simply select all the HTM/HTML pages and do a Properties. If your files are scattered like rabbit droppings across multiple files, then you'll probably spend less time stickin' 'em all in one "DeleteMe" folder than you spent reading this e-mail.
Cheers,
Edward
"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door
Good tip! I don't know how it is in your neck of the woods but most of the hosting companies in the US don't allow telnet or a shell session. I understand their concerns but I'd gladly pay a little extra to have the capability!
some FTP programs allow you to run some server side commands. If that doesn't work you can download the entire site in a folder on your HDD. Then you can do a search for *.htm* files in that folder. If you are under explorer it will tell you how many htm* files there are.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.