Skip to content

Instantly share code, notes, and snippets.

@rfmeier
Created December 16, 2015 23:07
Show Gist options
  • Select an option

  • Save rfmeier/c3aa5c28aa087cdafcec to your computer and use it in GitHub Desktop.

Select an option

Save rfmeier/c3aa5c28aa087cdafcec to your computer and use it in GitHub Desktop.
Get number of php files in a directory
#!/bin/bash
find ./ -type f -print | grep php | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment