#!/bin/zsh setopt no_unset extended_glob if (($+3)); then cd $3 || exit $? fi find -name ${2//\//:}:\* -printf '%T@\t%p\n' \ | while read ts filename; do if (( $ts > $1 )); then cat $filename || exit $? fi done