Created
April 23, 2019 19:35
-
-
Save HereThereBeMonsters/7cb71b41b61f17fa8c6583498091086d to your computer and use it in GitHub Desktop.
Find all java files in the current directory and list them ordered by name length
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 . -name \*.java -printf "%f\n" | awk '{ print length($0) " " $0; }' | sort -r -n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment