Skip to content

Instantly share code, notes, and snippets.

@tomcbe
Last active October 5, 2017 12:33
Show Gist options
  • Select an option

  • Save tomcbe/446cd2a5128f1f08c62c62c992dab8ab to your computer and use it in GitHub Desktop.

Select an option

Save tomcbe/446cd2a5128f1f08c62c62c992dab8ab to your computer and use it in GitHub Desktop.
bash: Count files in a directory
find . -type f -printf . | wc -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment