For Linux/ OS X operating systems
To count CSS Lines
find . -name '*.css' | xargs wc -l
To count PHP Lines
find . -name '*.php' | xargs wc -l
For Windows Operating using Powershell
To count CSS Lines
find . -name '*.css' | xargs wc -l
To count PHP Lines
find . -name '*.php' | xargs wc -l
To count Javascript Lines
find . -name '*.js' | xargs wc -l
find . -name '*.js' | xargs wc -l
For Windows Operating using Powershell
PS D:\Scratch\maweeras\superuser> dir -Recurse *.php | Get-Content | Measure-Object -Line
Lines Words Characters Property
----- ----- ---------- --------
168
please make content where should i keep this code
ReplyDelete