Created
November 19, 2019 18:36
-
-
Save holaontiveros/0d6c0a65a62ec463791e4e8ef5e56d08 to your computer and use it in GitHub Desktop.
List files in git repository and filter out specific files
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
# get the files | sort by size | don't list by specific text | limit of the list | |
git ls-tree -r -t -l --full-name HEAD | sort -n -k 4 | grep -v '.js' | tail -n 30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment