#!/bin/bash # for f in ./imx335_pisp*.json; do LIBCAMERA_RPI_TUNING_FILE=$PWD/$f \ rpicam-still --qt-preview --camera 1 -r -o $f.jpg done