Some time back I’d built a script that would look through a folder of pictures and grab out a random subset that were in a certain orientation which I could then use as screensavers or other similar uses.
Initially I’d used an Automator action I’d found on Automator World, but that stopped working with Big Sur.
I figured that I’d see if I could resurrect this script now in Shortcuts, but I don’t see anything there as a replacement either. I assume a simple shell script would probably due the trick, as all I want to do is point the step towards a folder of images and simply filter it to only the horizontal or portrait images, but I also want to make sure that whatever I’m doing is fairly efficient since it could be iterating over a few hundred photos in some cases.
Thanks in advance for any suggestions!
Steve