Skip to content

Instantly share code, notes, and snippets.

@brunnre8
Created December 23, 2018 10:24
Show Gist options
  • Save brunnre8/49dbe7713100cd5c7bec4d30d37803ff to your computer and use it in GitHub Desktop.
Save brunnre8/49dbe7713100cd5c7bec4d30d37803ff to your computer and use it in GitHub Desktop.
function dirFileCount() {
start=${1:=.}
for i in "${start}"/*; do echo -n "$i "; find $i | wc -l; done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment