Created
March 19, 2017 04:38
-
-
Save carld/c26b301e9c94c852e0245521a767c4f5 to your computer and use it in GitHub Desktop.
Find files that have greater than 3000 lines
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
| wc -l data/* | awk '{if ($1 > 3000) print $1, $2}' |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
and to concatenate rows onto a single comma separated line...
wc -l * | awk '{if ($1 > 3000) print $2}' | paste -s -d "," -