Created
July 13, 2019 23:14
-
-
Save jms1989/f313977428280ce3ce66dc9285e016ef to your computer and use it in GitHub Desktop.
Count images in current folder
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 . -type f | sed -e 's/.*\.//' | sort | uniq -c | sort -n | grep -Ei '(tiff|bmp|jpeg|jpg|JPG|png|gif)$' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment