PowerShellでファイルの行数を取得する
手元にWindowsマシンがなくて試せないが、こんな感じのコードだったはず。
PASH /home/cg/root> Get-ChildItem C:\foo\bar.* -Include *.java -Recurse | %{$_.fullname + "`t" + (Get-Content $_.fullname).length} /home/cg/root/mmm.java 74 /home/cg/root/xxx.java 2 /home/cg/root/yyy.java 1