Created
June 4, 2013 11:06
-
-
Save lqez/5705167 to your computer and use it in GitHub Desktop.
Counting size of image files with grouping.
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
find -E . -regex '.*\.(jpg|png)' -exec identify {} \; | cut -d ' ' -f 3 | sort -nr | uniq -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment