Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: How to find out how many pages a site has using Google?

  • Subject: Re: How to find out how many pages a site has using Google?
  • From: John Bokma <postmaster@castleamber.com>
  • Date: 20 Feb 2005 20:42:26 GMT
  • Newsgroups: alt.internet.search-engines
  • Organization: Castle Amber - software development
  • References: <opsmem6z0br3xrds@cinza> <1108747418.399549.195260@o13g2000cwo.googlegroups.com> <cv58ln$2nig$1@godfrey.mcc.ac.uk> <Xns96017940813E7castleamber@130.133.1.4> <mxrRd.250$DW.175@newssvr17.news.prodigy.com> <797d115rlkshocd4dha2asnbgk3k1q7kqf@4ax.com> <Xns9602B71771EFcastleamber@130.133.1.4> <ubud11d7pbev9cfo54o00hntlvisvqp4pm@4ax.com> <Xns96027B096CD01castleamber@130.133.1.4> <cv8s3g$1jcd$1@godfrey.mcc.ac.uk>
  • User-agent: Xnews/5.04.25
  • Xref: news.mcc.ac.uk alt.internet.search-engines:55622
Roy Schestowitz wrote:
 
>> If you own the site, use ls.
> 
> ls -la -R >tmp; wc tmp
> 
> Would give a quick approximation.

I use

find -type f -name "*.html" -print

in case I have to recurse (find all files that end in .html)

find -type f -name "*.html" -print | wc -l

gives the count, note no need for a tmp file, and the -l (count lines) 
option for wc

This only works if your site is static of course :-D.

-- 
John                       Perl SEO tools: http://johnbokma.com/perl/
                 Experienced (web) developer: http://castleamber.com/
Get a SEO report of your site for just 100 USD:
              http://johnbokma.com/websitedesign/seo-expert-help.html            

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index