Created
March 19, 2021 06:42
-
-
Save iOnline247/7e3681ed5b256dcc8e2997a7590caf54 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://stackoverflow.com/a/22558858 | |
Get-ChildItem -Include *.js, *.css, *.html -Recurse | ForEach-Object { | |
$_ | Select-Object FullName, @{n = "Lines"; e = { Get-Content $_ | Measure-Object -Line | Select-Object -ExpandProperty Lines}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment