Skip to content

Instantly share code, notes, and snippets.

View techentertainer's full-sized avatar
💭
Optimising and implementing features. Personal profile: @VinayakBagaria

Vinayak Bagaria techentertainer

💭
Optimising and implementing features. Personal profile: @VinayakBagaria
  • @Curofy
  • Gurugram
View GitHub Profile
@techentertainer
techentertainer / loc
Last active September 19, 2019 21:34
Lines in a folder excluding the given paths and files
Backend:
find . \( -path '*/migrations' -o -path '*/bin' -o -path '*/.git' -o -path '*/.idea' -o -path './GeoLiteCity.dat' -o -path '*/fonts' -o -path '*.png' -o -path '*.jpg' -o -path '*.pk' -o -path '*/.github' -o -path '*/plugins' -o -path '*.zip' -o -path '*/static' \) -prune -o -type f -exec cat {} + | wc -l
Web Frontend:
find . \( -path '*/font' -o -path '*/css' -o -path '*/componentcss' -o -path '*/node_modules' -o -path '*/.git' -o -path '*/.github' -o -path '*/images' -o -path '*/npm-debug.log' -o -path '*/package-lock.json' -o -path '*/.idea' -o -path '*/.vscode' \) -prune -o -type f -exec cat {} + | wc -l