crystalfaeries

[a]scension blog

imagescape
1st May 1971
[Picture Frame with Ivy Border]

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:

#!/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


Created by Chronicle v4.6