#!/bin/bash # xargs subprogram for "folder" (image curation utility) # used for converting PNG to JPEG on multiple cores # the 1663 height is for consistency with JPEGs from the CR2 folders echo creating ${2/.png/.jpg} convert -resize x1663 $2 ../../jpg/folder.$1/${2/.png/.jpg}