Created
June 11, 2020 18:32
-
-
Save ps-przemekaugustyn/1dd9f8ebe4aded81dbace7c12c323ed0 to your computer and use it in GitHub Desktop.
Grep string and group by directory
This file contains hidden or 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
grep -irl "nocount" ./|awk -F'/[^/]*$' '{print $1}'|uniq -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment