#!/bin/sh if [ $# -lt 1 ] then echo "$(basename $0) TAG args*" >&2 exit 1 fi TAG=$1 shift git annex find --metadata "tag=${TAG}" $@