#!/bin/bash [[ $1 ]] || exit 1 cd $1 && find ~+ -name '*.txt' -exec ls {} \;