Skip to content

Instantly share code, notes, and snippets.

@ayushgoel
Created November 13, 2017 05:27
Show Gist options
  • Save ayushgoel/f1915700adc286fce25a4ce71b019d47 to your computer and use it in GitHub Desktop.
Save ayushgoel/f1915700adc286fce25a4ce71b019d47 to your computer and use it in GitHub Desktop.
for i in `find . -name '*.m'`;
do
if [[ -f $i ]]; then
line_count=`wc -l "$i" | awk {'print $1'}`
if [[ $line_count -gt 1000 ]]; then
echo $line_count " " $i
fi
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment