Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
List top 10 .swift files sorted by number of lines
find . -type f -name "*.swift" -exec wc -l {} + | sort -nr | head

This comment has been minimized.

Copy link
Owner Author

cameroncooke commented Apr 28, 2018

Useful for locating code that may break the single responsibility principle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.