#!/bin/bash while IFS=$'\n' read -r file; do echo "$file:" cat "$file" printf "\n\n" done < <(find "${1?}" -type f)