This script does not care if image is in portrait or landscape ratio. Useful for sorting before developing your pictures.
Did you use it? ⭐ it!
- find all files in
inputDir
- run
exiftool
on all files to find sizes (you need to have this installed) - copy files to new directory, prefixed by aspect ratio value (ex:
./output/0.67/yourfile.jpg
)
And it is using parallel processing, just because I can.
Number of processors: 8
Files to process: 342
Output directory: ./output
SCF8510_000.JPG → 0.75
DSCF7002.JPG → 0.75
100_0080.JPG → 0.67
100_7281.JPG → 0.67
100_7915.JPG → 0.67
DSCN0161.JPG → 0.75
100_8480.JPG → 0.67
...
Copyleft 0BSD 2021, Tymek.Cz