imagescape
1st May 1971
imagescape is a BASH script which exists to sort a folder of images into two subfolders, "landscape" and "portrait", to optimize viewing the gallery of images on either:
- a smartphone with rotatable orientation
- a computer with rotatable monitor, or with a pair of monitors of orthogonal orientation
#!/bin/bash # /usr/local/bin/imagescape # https://crystalfaeries.net/posix/bin/imagescape # celeste:crystalfaery IMAGESCAPE 2021-03-29 01:30:11+00:00 # from Dave Taylor http://www.linuxjournal.com/content/resizing-images-imagemagick # arguments are image directory paths to process # output is images sorted into portrait or landscape subfolders # default: leaving the whole collection in the containing folder # -d option deletes the whole collection in the containing folder # leaving the split collection in landscape + portrait folders
Faery blessings -- celeste