Last active
March 23, 2022 18:24
-
-
Save tldrafael/7ed3ca607606346d1341c4e2d27c251a to your computer and use it in GitHub Desktop.
Get all images' resolutions contained on a directory
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
for f in *; do file $f | sed 's/.*, \(.*\)x\(.*\),.*/\1x\2/'; done | sort | uniq -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment