#!/usr/bin/env bash set -euo pipefail for i in *.raw; do echo ": $i |> !tup_preserve |>" echo ": $i |> cp %f %o |> %B.thumbnail" done