Created
November 15, 2019 00:49
-
-
Save rafazrte/a3b0907e405895ae41f0ab51c0039990 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find $1 -name $2 | xargs -I file wc -l file | awk '{ print $1; }' | tr "\n" "+" | awk '{ print $1 0 }' | bc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To execute, run the following command:
bash <(curl -Ls <RAW_GIST_URL>) <path_to_dir>