Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

count lines of code in a folder windows

// For Windows 
dir -Recurse *.* | Get-Content | Measure-Object -Line
			   ^
			   Extension of the files to consider.
Comment

lines of code in a directory

find . -name '*.py' | xargs wc -l | sort -n
Comment

check lines of code in a folder

find . -name '*.[FileExtention]' | xargs wc -l
Comment

PREVIOUS NEXT
Code Example
Shell :: unable to snap ubuntu software 
Shell :: powershell print environment variables 
Shell :: install drush ubuntu 20.04 
Shell :: brew install rvm 
Shell :: heroku update remote url 
Shell :: docker remove all images powershell 
Shell :: Could not resolve dependency: peer @angular/common@"^8.0.0" from @ng-bootstrap/ng-bootstrap@5.3.1 
Shell :: unix set current time in file name 
Shell :: installing webpack-cli 
Shell :: get size of image linux 
Shell :: how to change default crontab editor 
Shell :: terminator download 
Shell :: merge feature branch into master 
Shell :: git SSL certificate problem: self signed certificate 
Shell :: next js npm install 
Shell :: bash get kernel version 
Shell :: pytest suppress exit code 
Shell :: how to revert to a specific commit 
Shell :: linux how to check version of package 
Shell :: how to start apache/2.4.6 linux 
Shell :: where is wsl folder in windows 
Shell :: arch linux change timezone 
Shell :: wsl install 
Shell :: git stash drop 
Shell :: error during global initialization mongodb 
Shell :: requirements.txt conda 
Shell :: ionic capacitor splash screen generator 
Shell :: linux append content of file to another linux 
Shell :: delete remote branch 
Shell :: expo font install 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =