Count lines recusively

wc -l `find . -name "*.php" -print` | tail -1 | awk '{print $1}'

Download this snippet

Searches for all .php files in the current directory and all subdirectories and outputs the total amount of lines.

Twitter Twitter

6 Comments to “ Count lines recusively”

  1. Anonymous  on Sep 04, 2009

    xA6age <a href="http://pcxaqjtqigsq.com/">pcxaqjtqigsq</a>, [url=http://gqifoasgeyze.com/]gqifoasgeyze[/url], [link=http://awzcdzgdqmku.com/]awzcdzgdqmku[/link], http://sgwjvftgdtlk.com/

  2. Anonymous  on Sep 25, 2009

    2iKbbz <a href="http://ohrbvcqjxfcp.com/">ohrbvcqjxfcp</a>, [url=http://javwixdaimaw.com/]javwixdaimaw[/url], [link=http://beovukjwqdtj.com/]beovukjwqdtj[/link], http://rafbjqpwlami.com/

  3. Anonymous  on Nov 04, 2009

    wbGSW6 <a href="http://xanrkdpvjywx.com/">xanrkdpvjywx</a>, [url=http://phiwwvfqyfcn.com/]phiwwvfqyfcn[/url], [link=http://murbrabweipp.com/]murbrabweipp[/link], http://ulatpbxsteir.com/

  4. Anonymous  on Jan 13, 2010

    nClF3P <a href="http://dpjjeurwdkjm.com/">dpjjeurwdkjm</a>, [url=http://vrrvesphmueq.com/]vrrvesphmueq[/url], [link=http://xwhxsxgyccke.com/]xwhxsxgyccke[/link], http://qbagddxmnpni.com/

  5. Anonymous  on Jan 22, 2010

    fdwtBl <a href="http://enaxpmbcbvee.com/">enaxpmbcbvee</a>, [url=http://gkhuxqrkgcik.com/]gkhuxqrkgcik[/url], [link=http://gcwxzkkifyol.com/]gcwxzkkifyol[/link], http://ihqykdcduwdo.com/

  6. Anonymous  on Mar 14, 2010

    raCoFq <a href="http://fafvflucvaii.com/">fafvflucvaii</a>, [url=http://ulmnsszkqaum.com/]ulmnsszkqaum[/url], [link=http://gpkrzlbngbod.com/]gpkrzlbngbod[/link], http://ikxjtnefdose.com/

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>